org.kde.koala
public class KColorDrag extends QStoredDrag
UNKNOWN: A drag-and-drop object for colors.
Constructor Summary | |
---|---|
protected | KColorDrag(Class dummy) |
KColorDrag(QWidget dragsource, String name)
Constructs a color drag with a white color. | |
KColorDrag(QWidget dragsource) | |
KColorDrag() | |
KColorDrag(QColor col, QWidget dragsource, String name)
Constructs a color drag with the color col. | |
KColorDrag(QColor col, QWidget dragsource) | |
KColorDrag(QColor col) |
Method Summary | |
---|---|
static boolean | canDecode(QMimeSourceInterface e)
Returns true if the MIME source e contains a color object. |
String | className() |
static boolean | decode(QMimeSourceInterface e, QColor col)
Decodes the MIME source e and puts the resulting color into col. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
byte[] | encodedData(String m) |
protected void | finalize() Deletes the wrapped C++ instance |
String | format(int i) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
void | setColor(QColor col)
Sets the color of the drag to col. |
UNKNOWN: Constructs a color drag with a white color.
col.
UNKNOWN: Constructs a color drag with the color col.
e
contains a color object.UNKNOWN: Returns true if the MIME source e
contains a color object.
e
and puts the resulting color into col.
UNKNOWN: Decodes the MIME source e
and puts the resulting color into col.
col.
UNKNOWN: Sets the color of the drag to col.