summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KGuiItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KGuiItem.java')
-rw-r--r--kdejava/koala/org/kde/koala/KGuiItem.java84
1 files changed, 84 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KGuiItem.java b/kdejava/koala/org/kde/koala/KGuiItem.java
new file mode 100644
index 00000000..29adae20
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KGuiItem.java
@@ -0,0 +1,84 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QtSupport;
+import org.kde.qt.QIconSet;
+
+/**
+
+ @author Holger Freyther <freyher@yahoo.com>
+
+ @short An abstract class for GUI data such as ToolTip and Icon.
+
+*/
+public class KGuiItem implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected KGuiItem(Class dummy){}
+
+ public KGuiItem() {
+ newKGuiItem();
+ }
+ private native void newKGuiItem();
+ public KGuiItem(String text, String iconName, String toolTip, String whatsThis) {
+ newKGuiItem(text,iconName,toolTip,whatsThis);
+ }
+ private native void newKGuiItem(String text, String iconName, String toolTip, String whatsThis);
+ public KGuiItem(String text, String iconName, String toolTip) {
+ newKGuiItem(text,iconName,toolTip);
+ }
+ private native void newKGuiItem(String text, String iconName, String toolTip);
+ public KGuiItem(String text, String iconName) {
+ newKGuiItem(text,iconName);
+ }
+ private native void newKGuiItem(String text, String iconName);
+ public KGuiItem(String text) {
+ newKGuiItem(text);
+ }
+ private native void newKGuiItem(String text);
+ public KGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis) {
+ newKGuiItem(text,iconSet,toolTip,whatsThis);
+ }
+ private native void newKGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis);
+ public KGuiItem(String text, QIconSet iconSet, String toolTip) {
+ newKGuiItem(text,iconSet,toolTip);
+ }
+ private native void newKGuiItem(String text, QIconSet iconSet, String toolTip);
+ public KGuiItem(String text, QIconSet iconSet) {
+ newKGuiItem(text,iconSet);
+ }
+ private native void newKGuiItem(String text, QIconSet iconSet);
+ public KGuiItem(KGuiItem rhs) {
+ newKGuiItem(rhs);
+ }
+ private native void newKGuiItem(KGuiItem rhs);
+ public native String text();
+ public native String plainText();
+ public native QIconSet iconSet(int arg1, int size, KInstanceInterface instance);
+ public native QIconSet iconSet(int arg1, int size);
+ public native QIconSet iconSet(int arg1);
+ public native QIconSet iconSet();
+ public native String iconName();
+ public native String toolTip();
+ public native String whatsThis();
+ public native boolean isEnabled();
+ /**
+ returns whether an icon is defined, doesn't tell if it really exists
+ @short returns whether an icon is defined, doesn't tell if it really exists
+ */
+ public native boolean hasIcon();
+ public native boolean hasIconSet();
+ public native void setText(String text);
+ public native void setIconSet(QIconSet iconset);
+ public native void setIconName(String iconName);
+ public native void setToolTip(String tooltip);
+ public native void setWhatsThis(String whatsThis);
+ public native void setEnabled(boolean enable);
+ /** 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();
+}