1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
//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();
}
|