summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFileDialog.java
blob: 7fc31d0f6b5f02ad5f3e45d923801388cbc8fd3a (plain)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

/**
 See {@link QFileDialogSignals} for signals emitted by QFileDialog
*/
public class QFileDialog extends QDialog  {
	protected QFileDialog(Class dummy){super((Class) null);}
	public static final int AnyFile = 0;
	public static final int ExistingFile = 1;
	public static final int Directory = 2;
	public static final int ExistingFiles = 3;
	public static final int DirectoryOnly = 4;

	public static final int Detail = 0;
	public static final int List = 1;

	public static final int NoPreview = 0;
	public static final int Contents = 1;
	public static final int Info = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal) {
		super((Class) null);
		newQFileDialog(dirName,filter,parent,name,modal);
	}
	private native void newQFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal);
	public QFileDialog(String dirName, String filter, QWidget parent, String name) {
		super((Class) null);
		newQFileDialog(dirName,filter,parent,name);
	}
	private native void newQFileDialog(String dirName, String filter, QWidget parent, String name);
	public QFileDialog(String dirName, String filter, QWidget parent) {
		super((Class) null);
		newQFileDialog(dirName,filter,parent);
	}
	private native void newQFileDialog(String dirName, String filter, QWidget parent);
	public QFileDialog(String dirName, String filter) {
		super((Class) null);
		newQFileDialog(dirName,filter);
	}
	private native void newQFileDialog(String dirName, String filter);
	public QFileDialog(String dirName) {
		super((Class) null);
		newQFileDialog(dirName);
	}
	private native void newQFileDialog(String dirName);
	public QFileDialog(QWidget parent, String name, boolean modal) {
		super((Class) null);
		newQFileDialog(parent,name,modal);
	}
	private native void newQFileDialog(QWidget parent, String name, boolean modal);
	public QFileDialog(QWidget parent, String name) {
		super((Class) null);
		newQFileDialog(parent,name);
	}
	private native void newQFileDialog(QWidget parent, String name);
	public QFileDialog(QWidget parent) {
		super((Class) null);
		newQFileDialog(parent);
	}
	private native void newQFileDialog(QWidget parent);
	public QFileDialog() {
		super((Class) null);
		newQFileDialog();
	}
	private native void newQFileDialog();
	public native String selectedFile();
	public native String selectedFilter();
	public native void setSelectedFilter(String arg1);
	public native void setSelectedFilter(int arg1);
	public native void setSelection(String arg1);
	public native void selectAll(boolean b);
	public native ArrayList selectedFiles();
	public native String dirPath();
	public native void setDir(QDir arg1);
	public native QDir dir();
	public native void setShowHiddenFiles(boolean s);
	public native boolean showHiddenFiles();
	public native void rereadDir();
	public native void resortDir();
	public native void setMode(int arg1);
	public native int mode();
	public native void setViewMode(int m);
	public native int viewMode();
	public native void setPreviewMode(int m);
	public native int previewMode();
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	public native boolean isInfoPreviewEnabled();
	public native boolean isContentsPreviewEnabled();
	public native void setInfoPreviewEnabled(boolean arg1);
	public native void setContentsPreviewEnabled(boolean arg1);
	public native void setInfoPreview(QWidget w, QFilePreview preview);
	public native void setContentsPreview(QWidget w, QFilePreview preview);
	public native QUrlInterface url();
	public native void addFilter(String filter);
	public native void done(int arg1);
	public native void setDir(String arg1);
	public native void setUrl(QUrlOperator url);
	public native void setFilter(String arg1);
	public native void setFilters(String arg1);
	public native void setFilters(String[] arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
	public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter);
	public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption);
	public static native String getOpenFileName(String initially, String filter, QWidget parent, String name);
	public static native String getOpenFileName(String initially, String filter, QWidget parent);
	public static native String getOpenFileName(String initially, String filter);
	public static native String getOpenFileName(String initially);
	public static native String getOpenFileName();
	public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
	public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter);
	public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption);
	public static native String getSaveFileName(String initially, String filter, QWidget parent, String name);
	public static native String getSaveFileName(String initially, String filter, QWidget parent);
	public static native String getSaveFileName(String initially, String filter);
	public static native String getSaveFileName(String initially);
	public static native String getSaveFileName();
	public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks);
	public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption, boolean dirOnly);
	public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption);
	public static native String getExistingDirectory(String dir, QWidget parent, String name);
	public static native String getExistingDirectory(String dir, QWidget parent);
	public static native String getExistingDirectory(String dir);
	public static native String getExistingDirectory();
	public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
	public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption, StringBuffer selectedFilter);
	public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption);
	public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name);
	public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent);
	public static native ArrayList getOpenFileNames(String filter, String dir);
	public static native ArrayList getOpenFileNames(String filter);
	public static native ArrayList getOpenFileNames();
	public static native void setIconProvider(QFileIconProvider arg1);
	public static native QFileIconProvider iconProvider();
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void addWidgets(QLabel arg1, QWidget arg2, QPushButton arg3);
	protected native void addToolButton(QButton b, boolean separator);
	protected native void addToolButton(QButton b);
	protected native void addLeftWidget(QWidget w);
	protected native void addRightWidget(QWidget w);
	/** 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();
}