42 #ifndef QCLIPBOARD_P_H 43 #define QCLIPBOARD_P_H 56 #include "private/qobject_p.h" 57 #include "QtGui/qmime.h" 58 #include "QtGui/qclipboard.h" 69 const char*
format(
int n)
const;
82 bool hasFormat(
const QString &mimetype)
const;
106 delete compat_data[i];
131 #endif // QCLIPBOARD_P_H The QVariant class acts like a union for the most common Qt data types.
Mode
This enum type is used to control which part of the system clipboard is used by QClipboard::mimeData(...
QMimeSource * compat_data[QClipboard::LastMode+1]
#define QT_END_NAMESPACE
This macro expands to.
QList< QByteArray > formats
The QByteArray class provides an array of bytes.
The QString class provides a Unicode character string.
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME typ...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
Type
This enum type defines the types of variable that a QVariant can contain.
const char * format(int n) const
Returns the (i - 1)-th supported MIME format, or 0.
The QMimeData class provides a container for data that records information about its MIME type...
QMimeSourceWrapper(QClipboardPrivate *priv, QClipboard::Mode m)
QByteArray encodedData(const char *) const
Returns the encoded data of this object in the specified MIME format.