Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The QMimeSource class is an abstraction of objects which provide formatted data of a certain MIME type. More...
#include <qmime.h>
Inherited by QDragObject and QDropEvent.
Drag-and-drop and clipboard use this abstraction.
See also IANA list of MIME media types, Drag And Drop Classes, Input/Output and Networking, and Miscellaneous Classes.
See also serialNumber().
Returns the encoded data of this object in the specified MIME format.
Subclasses must reimplement this function.
Reimplemented in QStoredDrag, QDropEvent, and QIconDrag.
Returns the i-th supported MIME format, or 0.
Reimplemented in QDropEvent.
If you inherit from QMimeSource, for consistency reasons it is better to implement the more abstract canDecode() functions such as QTextDrag::canDecode() and QImageDrag::canDecode().
Example: iconview/simple_dd/main.cpp.
Reimplemented in QDropEvent.
Returns the mime source's globally unique serial number.
This file is part of the Qt toolkit. Copyright © 1995-2003 Trolltech. All Rights Reserved.
Copyright © 2003 Trolltech | Trademarks | Qt version 3.1.2
|