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 <QMimeSource>
Inherited by QDragObject and QDropEvent.
The QMimeSource class is an abstraction of objects which provide formatted data of a certain MIME type.
Drag-and-drop and clipboard use this abstraction.
See also IANA list of MIME media types.
Constructs a mime source and assigns a globally unique serial number to it.
See also serialNumber().
Provided to ensure that subclasses destroy themselves correctly.
Returns the encoded data of this object in the specified MIME format.
Subclasses must reimplement this function.
Returns the i-th supported MIME format, or 0.
Returns true if the object can provide the data in format mimeType; otherwise returns false.
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().
Returns the mime source's globally unique serial number.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |