4#include <QGuiApplication>
The QClipboard class provides access to the window system clipboard.
void setText(const QString &, Mode mode=Clipboard)
Copies text into the clipboard as plain text.
void setMimeData(QMimeData *data, Mode mode=Clipboard)
Sets the clipboard data to src.
QString text(Mode mode=Clipboard) const
Returns the clipboard text as plain text, or an empty string if the clipboard does not contain any te...
Mode
\keyword clipboard mode
static QClipboard * clipboard()
Returns the object for interacting with the clipboard.
void setImageData(const QVariant &image)
Sets the data in the object to the given image.
\macro QT_RESTRICTED_CAST_FROM_ASCII
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data