Qt 4.8
|
#include <qt_mac_p.h>
Classes | |
struct | Promise |
Public Functions | |
void | clear () |
QStringList | formats () const |
bool | hasFlavor (QString flavor) const |
bool | hasFormat (const QString &format) const |
bool | hasOSType (int c_flavor) const |
QMimeData * | mimeData () const |
OSPasteboardRef | pasteBoard () const |
QMacPasteboard (OSPasteboardRef p, uchar mime_type=0) | |
QMacPasteboard (uchar mime_type) | |
QMacPasteboard (CFStringRef name=0, uchar mime_type=0) | |
QVariant | retrieveData (const QString &format, QVariant::Type) const |
void | setMimeData (QMimeData *mime) |
bool | sync () const |
~QMacPasteboard () | |
Private Functions | |
void | clear_helper () |
Static Private Functions | |
static OSStatus | promiseKeeper (OSPasteboardRef, PasteboardItemID, CFStringRef, void *) |
Properties | |
bool | mac_mime_source |
QPointer< QMimeData > | mime |
uchar | mime_type |
OSPasteboardRef | paste |
QList< Promise > | promises |
Definition at line 211 of file qt_mac_p.h.
QMacPasteboard::QMacPasteboard | ( | OSPasteboardRef | p, |
uchar | mime_type = 0 |
||
) |
Definition at line 168 of file qclipboard_mac.cpp.
QMacPasteboard::QMacPasteboard | ( | uchar | mime_type | ) |
Definition at line 176 of file qclipboard_mac.cpp.
QMacPasteboard::QMacPasteboard | ( | CFStringRef | name = 0 , |
uchar | mime_type = 0 |
||
) |
Definition at line 189 of file qclipboard_mac.cpp.
QMacPasteboard::~QMacPasteboard | ( | ) |
Definition at line 202 of file qclipboard_mac.cpp.
void QMacPasteboard::clear | ( | ) |
Definition at line 606 of file qclipboard_mac.cpp.
Referenced by QClipboard::clear().
|
private |
Definition at line 598 of file qclipboard_mac.cpp.
QStringList QMacPasteboard::formats | ( | ) | const |
Definition at line 434 of file qclipboard_mac.cpp.
Referenced by QMacPasteboardMimeSource::formats(), QDropData::formats_sys(), and QCocoaDropData::formats_sys().
bool QMacPasteboard::hasFlavor | ( | QString | flavor | ) | const |
Definition at line 312 of file qclipboard_mac.cpp.
bool QMacPasteboard::hasFormat | ( | const QString & | format | ) | const |
Definition at line 478 of file qclipboard_mac.cpp.
Referenced by QDropData::hasFormat_sys(), and QCocoaDropData::hasFormat_sys().
bool QMacPasteboard::hasOSType | ( | int | c_flavor | ) | const |
Definition at line 268 of file qclipboard_mac.cpp.
QMimeData * QMacPasteboard::mimeData | ( | ) | const |
Definition at line 356 of file qclipboard_mac.cpp.
Referenced by QClipboard::mimeData().
PasteboardRef QMacPasteboard::pasteBoard | ( | ) | const |
Definition at line 216 of file qclipboard_mac.cpp.
Referenced by QDragManager::drag().
|
staticprivate |
Definition at line 221 of file qclipboard_mac.cpp.
QVariant QMacPasteboard::retrieveData | ( | const QString & | format, |
QVariant::Type | |||
) | const |
Definition at line 521 of file qclipboard_mac.cpp.
Referenced by QMacPasteboardMimeSource::retrieveData(), QDropData::retrieveData_sys(), and QCocoaDropData::retrieveData_sys().
void QMacPasteboard::setMimeData | ( | QMimeData * | mime | ) |
Definition at line 375 of file qclipboard_mac.cpp.
Referenced by QDragManager::drag(), and QClipboard::setMimeData().
bool QMacPasteboard::sync | ( | ) | const |
Definition at line 615 of file qclipboard_mac.cpp.
Referenced by qt_mac_updateScrap().
|
mutableprivate |
Definition at line 226 of file qt_mac_p.h.
Definition at line 225 of file qt_mac_p.h.
|
private |
Definition at line 224 of file qt_mac_p.h.
|
private |
Definition at line 223 of file qt_mac_p.h.
Definition at line 221 of file qt_mac_p.h.
Referenced by promiseKeeper().