You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
8.0 KiB
156 lines
8.0 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
package org.kde.qt;
|
||
|
|
||
|
import org.kde.qt.Qt;
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
/**
|
||
13 years ago
|
See {@link TQFileDialogSignals} for signals emitted by TQFileDialog
|
||
15 years ago
|
*/
|
||
13 years ago
|
public class TQFileDialog extends TQDialog {
|
||
|
protected TQFileDialog(Class dummy){super((Class) null);}
|
||
15 years ago
|
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;
|
||
|
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
13 years ago
|
public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(dirName,filter,parent,name,modal);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal);
|
||
|
public TQFileDialog(String dirName, String filter, TQWidget parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(dirName,filter,parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name);
|
||
|
public TQFileDialog(String dirName, String filter, TQWidget parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(dirName,filter,parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(String dirName, String filter, TQWidget parent);
|
||
|
public TQFileDialog(String dirName, String filter) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(dirName,filter);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(String dirName, String filter);
|
||
|
public TQFileDialog(String dirName) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(dirName);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(String dirName);
|
||
|
public TQFileDialog(TQWidget parent, String name, boolean modal) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(parent,name,modal);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(TQWidget parent, String name, boolean modal);
|
||
|
public TQFileDialog(TQWidget parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(TQWidget parent, String name);
|
||
|
public TQFileDialog(TQWidget parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog(parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog(TQWidget parent);
|
||
|
public TQFileDialog() {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFileDialog();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFileDialog();
|
||
15 years ago
|
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();
|
||
13 years ago
|
public native void setDir(TQDir arg1);
|
||
|
public native TQDir dir();
|
||
15 years ago
|
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();
|
||
13 years ago
|
public native boolean eventFilter(TQObject arg1, TQEvent arg2);
|
||
15 years ago
|
public native boolean isInfoPreviewEnabled();
|
||
|
public native boolean isContentsPreviewEnabled();
|
||
|
public native void setInfoPreviewEnabled(boolean arg1);
|
||
|
public native void setContentsPreviewEnabled(boolean arg1);
|
||
13 years ago
|
public native void setInfoPreview(TQWidget w, TQFilePreview preview);
|
||
|
public native void setContentsPreview(TQWidget w, TQFilePreview preview);
|
||
|
public native TQUrlInterface url();
|
||
15 years ago
|
public native void addFilter(String filter);
|
||
|
public native void done(int arg1);
|
||
|
public native void setDir(String arg1);
|
||
13 years ago
|
public native void setUrl(TQUrlOperator url);
|
||
15 years ago
|
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);
|
||
13 years ago
|
public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
|
||
|
public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter);
|
||
|
public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption);
|
||
|
public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name);
|
||
|
public static native String getOpenFileName(String initially, String filter, TQWidget parent);
|
||
15 years ago
|
public static native String getOpenFileName(String initially, String filter);
|
||
|
public static native String getOpenFileName(String initially);
|
||
|
public static native String getOpenFileName();
|
||
13 years ago
|
public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
|
||
|
public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter);
|
||
|
public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption);
|
||
|
public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name);
|
||
|
public static native String getSaveFileName(String initially, String filter, TQWidget parent);
|
||
15 years ago
|
public static native String getSaveFileName(String initially, String filter);
|
||
|
public static native String getSaveFileName(String initially);
|
||
|
public static native String getSaveFileName();
|
||
13 years ago
|
public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks);
|
||
|
public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly);
|
||
|
public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption);
|
||
|
public static native String getExistingDirectory(String dir, TQWidget parent, String name);
|
||
|
public static native String getExistingDirectory(String dir, TQWidget parent);
|
||
15 years ago
|
public static native String getExistingDirectory(String dir);
|
||
|
public static native String getExistingDirectory();
|
||
13 years ago
|
public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
|
||
|
public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter);
|
||
|
public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption);
|
||
|
public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name);
|
||
|
public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent);
|
||
15 years ago
|
public static native ArrayList getOpenFileNames(String filter, String dir);
|
||
|
public static native ArrayList getOpenFileNames(String filter);
|
||
|
public static native ArrayList getOpenFileNames();
|
||
13 years ago
|
public static native void setIconProvider(TQFileIconProvider arg1);
|
||
|
public static native TQFileIconProvider iconProvider();
|
||
|
protected native void resizeEvent(TQResizeEvent arg1);
|
||
|
protected native void keyPressEvent(TQKeyEvent arg1);
|
||
|
protected native void addWidgets(TQLabel arg1, TQWidget arg2, TQPushButton arg3);
|
||
|
protected native void addToolButton(TQButton b, boolean separator);
|
||
|
protected native void addToolButton(TQButton b);
|
||
|
protected native void addLeftWidget(TQWidget w);
|
||
|
protected native void addRightWidget(TQWidget w);
|
||
15 years ago
|
/** 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();
|
||
|
}
|