Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME type. More...
Public Member Functions | |
QMimeSource () | |
QMimeSource (IQMimeSource copy) | |
virtual void | CreateProxy () |
abstract QByteArray | EncodedData (string arg1) |
| |
abstract string | Format (int n=0) |
| |
virtual bool | Provides (string arg1) |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.IQMimeSource | |
QByteArray | EncodedData (string arg1) |
string | Format (int n=0) |
bool | Provides (string arg1) |
Protected Member Functions | |
QMimeSource (System.Type dummy) | |
Protected Attributes | |
SmokeInvocation | interceptor |
Properties | |
virtual System.IntPtr | SmokeObject [get, set] |
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.
See also QMimeData and QDrag.
|
protected |
QtGui.QMimeSource.QMimeSource | ( | ) |
QtGui.QMimeSource.QMimeSource | ( | IQMimeSource | copy | ) |
|
virtual |
new void QtGui.QMimeSource.Dispose | ( | ) |
|
pure virtual |
Returns the encoded data of this object in the specified MIME format.
|
pure virtual |
Returns the (i - 1)-th supported MIME format, or 0.
|
virtual |
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().
|
protected |
|
getset |