diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java b/tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java new file mode 100644 index 00000000..43e76037 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KDirSelectDialog.java @@ -0,0 +1,102 @@ +//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 pretty dialog for a KDirSelect control for selecting directories. + @author Michael Jarrett <michaelj@corel.com> + + @short A pretty dialog for a KDirSelect control for selecting directories. + @see KFileDialog + +*/ +public class KDirSelectDialog extends KDialogBase { + protected KDirSelectDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + The constructor. Creates a dialog to select a directory (url). + @param startDir the directory, initially shown + @param localOnly unused. You can only select paths below the startDir + @param parent the parent for the dialog, usually null + @param name the TQObject.name + @param modal if the dialog is modal or not + @short The constructor. + */ + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal) { + super((Class) null); + newKDirSelectDialog(startDir,localOnly,parent,name,modal); + } + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal); + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name) { + super((Class) null); + newKDirSelectDialog(startDir,localOnly,parent,name); + } + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name); + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent) { + super((Class) null); + newKDirSelectDialog(startDir,localOnly,parent); + } + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent); + public KDirSelectDialog(String startDir, boolean localOnly) { + super((Class) null); + newKDirSelectDialog(startDir,localOnly); + } + private native void newKDirSelectDialog(String startDir, boolean localOnly); + public KDirSelectDialog(String startDir) { + super((Class) null); + newKDirSelectDialog(startDir); + } + private native void newKDirSelectDialog(String startDir); + public KDirSelectDialog() { + super((Class) null); + newKDirSelectDialog(); + } + private native void newKDirSelectDialog(); + /** + Returns the currently-selected URL, or a blank URL if none is selected. + @return The currently-selected URL, if one was selected. + + @short Returns the currently-selected URL, or a blank URL if none is selected. + */ + public native KURL url(); + public native KFileTreeView view(); + public native boolean localOnly(); + /** + @return The path for the root node + + @short + */ + public native String startDir(); + public native void setCurrentURL(KURL url); + /** + Creates a KDirSelectDialog, and returns the result. + @param startDir the directory, initially shown + The tree will display this directory and subdirectories of it. + @param localOnly unused. You can only select paths below the startDir + @param parent the parent widget to use for the dialog, or NULL to create a parent-less dialog + @param caption the caption to use for the dialog, or null for the default caption + @return The URL selected, or an empty URL if the user canceled + or no URL was selected. + + @short Creates a KDirSelectDialog, and returns the result. + */ + public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent, String caption); + public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent); + public static native KURL selectDirectory(String startDir, boolean localOnly); + public static native KURL selectDirectory(String startDir); + public static native KURL selectDirectory(); + protected native void accept(); + protected native void slotUser1(); + /** 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(); +} |