Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The TQMimeSource class is an abstraction of objects which provide formatted data of a certain MIME type. More...
#include <tqmime.h>
Inherited by TQDragObject and TQDropEvent.
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 TQStoredDrag, TQDropEvent, and TQIconDrag.
Returns the i-th supported MIME format, or 0.
Reimplemented in TQDropEvent.
If you inherit from TQMimeSource, for consistency reasons it is better to implement the more abstract canDecode() functions such as TQTextDrag::canDecode() and TQImageDrag::canDecode().
Example: iconview/simple_dd/main.cpp.
Reimplemented in TQDropEvent.
Returns the mime source's globally unique serial number.
This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|