summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java')
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java106
1 files changed, 106 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java b/tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java
new file mode 100644
index 00000000..262d81c6
--- /dev/null
+++ b/tdejava/koala/org/trinitydesktop/koala/KURLBarItemDialog.java
@@ -0,0 +1,106 @@
+//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.TQWidget;
+
+/**
+
+ A dialog that allows editing entries of a KURLBar ( KURLBarItem).
+ The dialog offers to configure a given url, description and icon.
+ See the class-method getInformation() for easy usage.
+ @author Carsten Pfeiffer <pfeiffer@kde.org>
+
+ @short A dialog that allows editing entries of a KURLBar ( KURLBarItem).
+
+*/
+public class KURLBarItemDialog extends KDialogBase {
+ protected KURLBarItemDialog(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
+ public native String className();
+ /**
+ Constructs a KURLBarItemDialog.
+ <code>allowGlobal</code> if you set this to true, the dialog will have a checkbox
+ for the user to decide if he wants the entry to be
+ available globally or just for the current application.
+ <code>url</code> the url of the item
+ <code>description</code> a short, translated description of the item
+ <code>icon</code> an icon for the item
+ <code>appLocal</code> tells whether the item should be local for this application
+ or be available globally
+ <code>iconSize</code> determines the size of the icon that is shown/selectable
+ <code>parent</code> the parent-widget for the dialog
+ If you leave the icon empty, the default icon for the given url will be
+ used (KMimeType.pixmapForURL()).
+ @short Constructs a KURLBarItemDialog.
+ */
+ public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name) {
+ super((Class) null);
+ newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent,name);
+ }
+ private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name);
+ public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent) {
+ super((Class) null);
+ newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent);
+ }
+ private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent);
+ public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize) {
+ super((Class) null);
+ newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize);
+ }
+ private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize);
+ public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal) {
+ super((Class) null);
+ newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal);
+ }
+ private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal);
+ public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon) {
+ super((Class) null);
+ newKURLBarItemDialog(allowGlobal,url,description,icon);
+ }
+ private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon);
+ /**
+ @return the configured url
+
+ @short
+ */
+ public native KURL url();
+ /**
+ @return the configured description
+
+ @short
+ */
+ public native String description();
+ /**
+ @return the configured icon
+
+ @short
+ */
+ public native String iconName();
+ /**
+ @return whether the item should be local to the application or global.
+ If allowGlobal was set to false in the constructor, this will always
+ return true.
+
+ @short
+ */
+ public native boolean applicationLocal();
+ public native void urlChanged(String arg1);
+ /**
+ A convenience method to show the dialog and retrieve all the
+ properties via the given parameters. The parameters are used to
+ initialize the dialog and then return the user-configured values.
+ See the KURLBarItem constructor for the parameter description.
+ @short A convenience method to show the dialog and retrieve all the properties via the given parameters.
+ */
+ public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, TQWidget parent);
+ public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize);
+ /** 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();
+}