summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFileDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QFileDialog.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QFileDialog.java134
1 files changed, 67 insertions, 67 deletions
diff --git a/qtjava/javalib/org/kde/qt/QFileDialog.java b/qtjava/javalib/org/kde/qt/QFileDialog.java
index 7fc31d0f..7986f82c 100644
--- a/qtjava/javalib/org/kde/qt/QFileDialog.java
+++ b/qtjava/javalib/org/kde/qt/QFileDialog.java
@@ -5,10 +5,10 @@ import org.kde.qt.Qt;
import java.util.ArrayList;
/**
- See {@link QFileDialogSignals} for signals emitted by QFileDialog
+ See {@link TQFileDialogSignals} for signals emitted by TQFileDialog
*/
-public class QFileDialog extends QDialog {
- protected QFileDialog(Class dummy){super((Class) null);}
+public class TQFileDialog extends TQDialog {
+ protected TQFileDialog(Class dummy){super((Class) null);}
public static final int AnyFile = 0;
public static final int ExistingFile = 1;
public static final int Directory = 2;
@@ -22,53 +22,53 @@ public class QFileDialog extends QDialog {
public static final int Contents = 1;
public static final int Info = 2;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal) {
+ public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) {
super((Class) null);
- newQFileDialog(dirName,filter,parent,name,modal);
+ newTQFileDialog(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) {
+ private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal);
+ public TQFileDialog(String dirName, String filter, TQWidget parent, String name) {
super((Class) null);
- newQFileDialog(dirName,filter,parent,name);
+ newTQFileDialog(dirName,filter,parent,name);
}
- private native void newQFileDialog(String dirName, String filter, QWidget parent, String name);
- public QFileDialog(String dirName, String filter, QWidget parent) {
+ private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name);
+ public TQFileDialog(String dirName, String filter, TQWidget parent) {
super((Class) null);
- newQFileDialog(dirName,filter,parent);
+ newTQFileDialog(dirName,filter,parent);
}
- private native void newQFileDialog(String dirName, String filter, QWidget parent);
- public QFileDialog(String dirName, String filter) {
+ private native void newTQFileDialog(String dirName, String filter, TQWidget parent);
+ public TQFileDialog(String dirName, String filter) {
super((Class) null);
- newQFileDialog(dirName,filter);
+ newTQFileDialog(dirName,filter);
}
- private native void newQFileDialog(String dirName, String filter);
- public QFileDialog(String dirName) {
+ private native void newTQFileDialog(String dirName, String filter);
+ public TQFileDialog(String dirName) {
super((Class) null);
- newQFileDialog(dirName);
+ newTQFileDialog(dirName);
}
- private native void newQFileDialog(String dirName);
- public QFileDialog(QWidget parent, String name, boolean modal) {
+ private native void newTQFileDialog(String dirName);
+ public TQFileDialog(TQWidget parent, String name, boolean modal) {
super((Class) null);
- newQFileDialog(parent,name,modal);
+ newTQFileDialog(parent,name,modal);
}
- private native void newQFileDialog(QWidget parent, String name, boolean modal);
- public QFileDialog(QWidget parent, String name) {
+ private native void newTQFileDialog(TQWidget parent, String name, boolean modal);
+ public TQFileDialog(TQWidget parent, String name) {
super((Class) null);
- newQFileDialog(parent,name);
+ newTQFileDialog(parent,name);
}
- private native void newQFileDialog(QWidget parent, String name);
- public QFileDialog(QWidget parent) {
+ private native void newTQFileDialog(TQWidget parent, String name);
+ public TQFileDialog(TQWidget parent) {
super((Class) null);
- newQFileDialog(parent);
+ newTQFileDialog(parent);
}
- private native void newQFileDialog(QWidget parent);
- public QFileDialog() {
+ private native void newTQFileDialog(TQWidget parent);
+ public TQFileDialog() {
super((Class) null);
- newQFileDialog();
+ newTQFileDialog();
}
- private native void newQFileDialog();
+ private native void newTQFileDialog();
public native String selectedFile();
public native String selectedFilter();
public native void setSelectedFilter(String arg1);
@@ -77,8 +77,8 @@ public class QFileDialog extends QDialog {
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 setDir(TQDir arg1);
+ public native TQDir dir();
public native void setShowHiddenFiles(boolean s);
public native boolean showHiddenFiles();
public native void rereadDir();
@@ -89,63 +89,63 @@ public class QFileDialog extends QDialog {
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 eventFilter(TQObject arg1, TQEvent 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 setInfoPreview(TQWidget w, TQFilePreview preview);
+ public native void setContentsPreview(TQWidget w, TQFilePreview preview);
+ public native TQUrlInterface 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 setUrl(TQUrlOperator 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, 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);
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, 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);
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, 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);
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, 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);
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);
+ 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);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */