You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
4.0 KiB
Java
103 lines
4.0 KiB
Java
//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 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 QMetaObject 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 QObject.name
|
|
@param modal if the dialog is modal or not
|
|
@short The constructor.
|
|
*/
|
|
public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal) {
|
|
super((Class) null);
|
|
newKDirSelectDialog(startDir,localOnly,parent,name,modal);
|
|
}
|
|
private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal);
|
|
public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKDirSelectDialog(startDir,localOnly,parent,name);
|
|
}
|
|
private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name);
|
|
public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent) {
|
|
super((Class) null);
|
|
newKDirSelectDialog(startDir,localOnly,parent);
|
|
}
|
|
private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget 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, QWidget parent, String caption);
|
|
public static native KURL selectDirectory(String startDir, boolean localOnly, QWidget 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();
|
|
}
|