#include <qbbclipboard.h>
Definition at line 50 of file qbbclipboard.h.
◆ QBBClipboard()
QBBClipboard::QBBClipboard |
( |
| ) |
|
◆ ~QBBClipboard()
QBBClipboard::~QBBClipboard |
( |
| ) |
|
|
virtual |
◆ mimeData()
◆ setMimeData()
Reimplemented from QPlatformClipboard.
Definition at line 188 of file qbbclipboard.cpp.
208 #if defined(QBBCLIPBOARD_DEBUG) 219 #if defined(QBBCLIPBOARD_DEBUG) 220 qDebug() <<
"QBB: set " << format <<
"to clipboard, size=" << buf.
size() <<
";ret=" << ret;
void setUserMimeData(QMimeData *userMimeData)
void clear()
Removes all the MIME type and data entries in the object.
virtual QStringList formats() const
Returns a list of formats supported by the object.
char * data()
Returns a pointer to the data stored in the byte array.
QByteArray toUtf8() const Q_REQUIRED_RESULT
Returns a UTF-8 representation of the string as a QByteArray.
The QByteArray class provides an array of bytes.
QByteArray data(const QString &mimetype) const
Returns the data stored in the object in the format described by the MIME type specified by mimeType...
The QString class provides a Unicode character string.
Q_CORE_EXPORT void qDebug(const char *,...)
The QStringList class provides a list of strings.
static const char * data(const QByteArray &arr)
QMimeData * userMimeData()
int size() const
Returns the number of bytes in this byte array.
#define Q_FOREACH(variable, container)
Same as foreach(variable, container).
bool isEmpty() const
Returns true if the byte array has size 0; otherwise returns false.
void addFormatToCheck(const QString &format)
◆ m_mimeData
The documentation for this class was generated from the following files: