Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME type. More...
#include <QMimeSource>
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Inherited by Q3DragObject and QDropEvent.
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME type.
The preferred approach to drag and drop is to use QDrag in conjunction with QMimeData. See Drag and Drop for details.
Destroys the MIME source.
Returns the encoded data of this object in the specified MIME format.
Returns the (i - 1)-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().
Copyright © 2008 Nokia | Trademarks | Qt 4.4.3 |