summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-01-08 20:06:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-08 20:06:00 +0100
commit636f509299122d02087c6fd62e1e4a46dbd22026 (patch)
tree70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java
parent719b61750c08343f530068ed4127623aeac71cf0 (diff)
downloadtdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz
tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java58
1 files changed, 58 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java b/tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java
new file mode 100644
index 00000000..41be7a02
--- /dev/null
+++ b/tdejava/koala/org/trinitydesktop/koala/KWidgetAction.java
@@ -0,0 +1,58 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.koala;
+
+import org.trinitydesktop.qt.Qt;
+import org.trinitydesktop.qt.TQMetaObject;
+import org.trinitydesktop.qt.QtSupport;
+import org.trinitydesktop.qt.TQObject;
+import org.trinitydesktop.qt.TQWidget;
+
+/**
+
+ An action that automatically embeds a widget into a
+ toolbar.
+ @short An action that automatically embeds a widget into a toolbar.
+
+*/
+public class KWidgetAction extends TDEAction {
+ protected KWidgetAction(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
+ public native String className();
+ /**
+ Create an action that will embed widget into a toolbar
+ when plugged. This action may only be plugged into
+ a toolbar.
+ @short Create an action that will embed widget into a toolbar when plugged.
+ */
+ public KWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name) {
+ super((Class) null);
+ newKWidgetAction(widget,text,cut,receiver,slot,parent,name);
+ }
+ private native void newKWidgetAction(TQWidget widget, String text, TDEShortcut cut, TQObject receiver, String slot, TDEActionCollection parent, String name);
+ /**
+ Returns the widget associated with this action.
+ @short Returns the widget associated with this action.
+ */
+ public native TQWidget widget();
+ public native void setAutoSized(boolean arg1);
+ /**
+ Plug the action. The widget passed to the constructor
+ will be reparented to w, which must inherit TDEToolBar.
+ @short Plug the action.
+ */
+ public native int plug(TQWidget widget, int index);
+ public native int plug(TQWidget widget);
+ /**
+ Unplug the action. Ensures that the action is not
+ destroyed. It will be hidden and reparented to null instead.
+ @short Unplug the action.
+ */
+ public native void unplug(TQWidget w);
+ protected native void slotToolbarDestroyed();
+ /** 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();
+}