diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KColorDrag.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KColorDrag.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KColorDrag.java | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KColorDrag.java b/tdejava/koala/org/trinitydesktop/koala/KColorDrag.java new file mode 100644 index 00000000..1d12fd15 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KColorDrag.java @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQColor; +import org.trinitydesktop.qt.TQMimeSourceInterface; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQMimeSource; +import org.trinitydesktop.qt.TQWidget; +import org.trinitydesktop.qt.TQStoredDrag; + +/** + + A drag-and-drop object for colors. The according MIME type + is set to application/x-color. + See the Qt drag'n'drop documentation. + @short A drag-and-drop object for colors. + +*/ +public class KColorDrag extends TQStoredDrag { + protected KColorDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a color drag with a white color. + @short Constructs a color drag with a white color. + */ + public KColorDrag(TQWidget dragsource, String name) { + super((Class) null); + newKColorDrag(dragsource,name); + } + private native void newKColorDrag(TQWidget dragsource, String name); + public KColorDrag(TQWidget dragsource) { + super((Class) null); + newKColorDrag(dragsource); + } + private native void newKColorDrag(TQWidget dragsource); + public KColorDrag() { + super((Class) null); + newKColorDrag(); + } + private native void newKColorDrag(); + /** + Constructs a color drag with the color <code>col.</code> + @short Constructs a color drag with the color <code>col.</code> + */ + public KColorDrag(TQColor col, TQWidget dragsource, String name) { + super((Class) null); + newKColorDrag(col,dragsource,name); + } + private native void newKColorDrag(TQColor col, TQWidget dragsource, String name); + public KColorDrag(TQColor col, TQWidget dragsource) { + super((Class) null); + newKColorDrag(col,dragsource); + } + private native void newKColorDrag(TQColor col, TQWidget dragsource); + public KColorDrag(TQColor col) { + super((Class) null); + newKColorDrag(col); + } + private native void newKColorDrag(TQColor col); + public native String format(int i); + public native byte[] encodedData(String m); + /** + Sets the color of the drag to <code>col.</code> + @short Sets the color of the drag to <code>col.</code> + */ + public native void setColor(TQColor col); + /** + Returns true if the MIME source <code>e</code> contains a color object. + @short Returns true if the MIME source <code>e</code> contains a color object. + */ + public static native boolean canDecode(TQMimeSourceInterface e); + /** + Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> + @short Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> + */ + public static native boolean decode(TQMimeSourceInterface e, TQColor col); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |