45 #include <QtCore/qobject.h> 53 #ifndef QT_NO_CLIPBOARD 75 bool supportsSelection()
const;
76 bool supportsFindBuffer()
const;
78 bool ownsSelection()
const;
79 bool ownsClipboard()
const;
80 bool ownsFindBuffer()
const;
84 void setText(
const QString &,
Mode mode = Clipboard);
95 void setImage(
const QImage &,
Mode mode = Clipboard);
96 void setPixmap(
const QPixmap &,
Mode mode = Clipboard);
100 void selectionChanged();
101 void findBufferChanged();
104 void ownerDestroyed();
112 friend class QBaseApplication;
121 bool ownsMode(
Mode mode)
const;
125 #endif // QT_NO_CLIPBOARD 131 #endif // QCLIPBOARD_H Mode
This enum type is used to control which part of the system clipboard is used by QClipboard::mimeData(...
The QApplication class manages the GUI application's control flow and main settings.
#define QT_END_NAMESPACE
This macro expands to.
static void clear(QVariant::Private *d)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
virtual void connectNotify(const char *signal)
This virtual function is called when something has been connected to signal in this object...
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.
static bool setData(const QByteArray &data, STGMEDIUM *pmedium)
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
The QClipboard class provides access to the window system clipboard.
The QMimeData class provides a container for data that records information about its MIME type...
The QPixmap class is an off-screen image representation that can be used as a paint device...
#define Q_DECLARE_PRIVATE(Class)
The QEvent class is the base class of all event classes.