44 #ifndef QT_NO_CLIPBOARD 47 #include "private/qapplication_p.h" 74 QPlatformClipboard *clipboard = QApplicationPrivate::platformIntegration()->clipboard();
84 QPlatformClipboard *clipboard = QApplicationPrivate::platformIntegration()->clipboard();
91 qWarning(
"QClipboard::ownsClipboard: UNIMPLEMENTED!");
103 #endif // QT_NO_CLIPBOARD Mode
This enum type is used to control which part of the system clipboard is used by QClipboard::mimeData(...
static QWaylandClipboard * clipboard
void clear(Mode mode=Clipboard)
Clear the clipboard contents.
void emitChanged(Mode mode)
Emits the appropriate changed signal for mode.
#define QT_END_NAMESPACE
This macro expands to.
bool event(QEvent *)
Reimplemented Function
void ownerDestroyed()
Internal cleanup for Windows.
bool supportsMode(Mode mode) const
Returns true if the clipboard supports the clipboard mode speacified by mode; otherwise returns false...
void setMimeData(QMimeData *data, Mode mode=Clipboard)
Sets the clipboard data to src.
bool ownsMode(Mode mode) const
Returns true if the clipboard supports the clipboard data speacified by mode; otherwise returns false...
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
const QMimeData * mimeData(Mode mode=Clipboard) const
Returns a reference to a QMimeData representation of the current clipboard data.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_CORE_EXPORT void qWarning(const char *,...)
The QMimeData class provides a container for data that records information about its MIME type...
#define QT_USE_NAMESPACE
This macro expands to using QT_NAMESPACE if QT_NAMESPACE is defined and nothing otherwise.
The QEvent class is the base class of all event classes.
void connectNotify(const char *)
Internal optimization for Windows.