summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/TDEPopupTitle.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/TDEPopupTitle.java')
-rw-r--r--kdejava/koala/org/kde/koala/TDEPopupTitle.java76
1 files changed, 76 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/TDEPopupTitle.java b/kdejava/koala/org/kde/koala/TDEPopupTitle.java
new file mode 100644
index 00000000..2f9a38f0
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/TDEPopupTitle.java
@@ -0,0 +1,76 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.TQMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQPaintEvent;
+import org.kde.qt.TQSize;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQWidget;
+
+/**
+
+ Title widget for use in TDEPopupMenu.
+ You usually don't have to create this manually since
+ TDEPopupMenu.insertTitle will do it for you, but it is allowed if
+ you wish to customize it's look.
+ @author Daniel M. Duley <mosfet@kde.org>
+
+ @short TDEPopupMenu title widget.
+
+*/
+public class TDEPopupTitle extends TQWidget {
+ protected TDEPopupTitle(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
+ public native String className();
+ /**
+ Constructs a title widget with the user specified gradient, pixmap,
+ and colors.
+ @short Constructs a title widget with the user specified gradient, pixmap, and colors.
+ */
+ public TDEPopupTitle(TQWidget parent, String name) {
+ super((Class) null);
+ newTDEPopupTitle(parent,name);
+ }
+ private native void newTDEPopupTitle(TQWidget parent, String name);
+ public TDEPopupTitle(TQWidget parent) {
+ super((Class) null);
+ newTDEPopupTitle(parent);
+ }
+ private native void newTDEPopupTitle(TQWidget parent);
+ public TDEPopupTitle() {
+ super((Class) null);
+ newTDEPopupTitle();
+ }
+ private native void newTDEPopupTitle();
+ /**
+ Sets the title string and optional icon for the title widget.
+ You will want to call this before inserting into a menu.
+ @short Sets the title string and optional icon for the title widget.
+ */
+ public native void setTitle(String text, TQPixmap icon);
+ public native void setTitle(String text);
+ /**
+ Returns the current title.
+ @short Returns the current title.
+ */
+ public native String title();
+ /**
+ Returns the current icon.
+ @short Returns the current icon.
+ */
+ public native TQPixmap icon();
+ public native TQSize sizeHint();
+ public native void setText(String text);
+ public native void setIcon(TQPixmap pix);
+ protected native void calcSize();
+ protected native void paintEvent(TQPaintEvent ev);
+ /** 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();
+}