diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KURLBarItemDialog.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KURLBarItemDialog.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KURLBarItemDialog.java | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KURLBarItemDialog.java b/kdejava/koala/org/kde/koala/KURLBarItemDialog.java new file mode 100644 index 00000000..09f01d69 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KURLBarItemDialog.java @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QWidget; + +/** + + 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 QMetaObject 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, QWidget 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, QWidget parent, String name); + public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget 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, QWidget 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, QWidget 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(); +} |