summaryrefslogtreecommitdiffstats
path: root/sip/qt/qfiledialog.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qfiledialog.sip')
-rw-r--r--sip/qt/qfiledialog.sip137
1 files changed, 0 insertions, 137 deletions
diff --git a/sip/qt/qfiledialog.sip b/sip/qt/qfiledialog.sip
index b5a7af8..920a218 100644
--- a/sip/qt/qfiledialog.sip
+++ b/sip/qt/qfiledialog.sip
@@ -74,13 +74,10 @@ public:
virtual const TQPixmap *pixmap(const TQFileInfo &);
private:
-%If (TQt_2_1_0 -)
TQFileIconProvider(const TQFileIconProvider &);
-%End
};
-%If (TQt_2_1_0 -)
class TQFilePreview
{
%TypeHeaderCode
@@ -92,7 +89,6 @@ public:
virtual void previewUrl(const TQUrl &) = 0;
};
-%End
class TQFileDialog : TQDialog
@@ -102,66 +98,10 @@ class TQFileDialog : TQDialog
%End
public:
-%If (- TQt_2_00)
- TQFileDialog(const char *,const char * = 0,TQWidget * /TransferThis/ = 0,
- const char * = 0,bool = 0);
-%End
-%If (TQt_2_00 -)
TQFileDialog(const TQString &,const TQString & = TQString::null,
TQWidget * /TransferThis/ = 0,const char * = 0,bool = 0);
-%End
TQFileDialog(TQWidget * /TransferThis/ = 0,const char * = 0,bool = 0);
-%If (- TQt_2_00)
- static TQString getOpenFileName(const char * = 0,const char * = 0,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQString getSaveFileName(const char * = 0,const char * = 0,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQString getExistingDirectory(const char * = 0,TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQStrList getOpenFileNames(const char * = 0,const char * = 0,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
-%End
-%If (TQt_2_00 - TQt_3_0_0)
- static TQString getOpenFileName(const TQString & = TQString::null,
- const TQString & = TQString::null,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQString getSaveFileName(const TQString & = TQString::null,
- const TQString & = TQString::null,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQString getExistingDirectory(const TQString & = TQString::null,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
- static TQStringList getOpenFileNames(const TQString & = TQString::null,
- const TQString & = TQString::null,
- TQWidget * = 0,
- const char * = 0) /ReleaseGIL/;
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- static TQString getOpenFileName(const TQString &,const TQString &,
- TQWidget *,const char *,
- const TQString &) /ReleaseGIL/;
- static TQString getSaveFileName(const TQString &,const TQString &,
- TQWidget *,const char *,
- const TQString &) /ReleaseGIL/;
- static TQString getExistingDirectory(const TQString &,TQWidget *,
- const char *,
- const TQString &) /ReleaseGIL/;
- static TQStringList getOpenFileNames(const TQString &,const TQString &,
- TQWidget *,const char *,
- const TQString &) /ReleaseGIL/;
-%End
-%If (TQt_2_2_0 - TQt_3_0_0)
- static TQString getExistingDirectory(const TQString &,TQWidget *,
- const char *,
- const TQString &,bool) /ReleaseGIL/;
-%End
-%If (TQt_3_0_0 -)
static TQString getOpenFileName(const TQString & = TQString::null,
const TQString & = TQString::null,
TQWidget * = 0,const char * = 0,
@@ -186,62 +126,31 @@ public:
TQString * = 0,
bool = 1) /ReleaseGIL/;
-%End
-
static void setIconProvider(TQFileIconProvider *);
static TQFileIconProvider *iconProvider();
TQString selectedFile() const;
-%If (TQt_2_1_0 -)
TQString selectedFilter() const;
-%End
-%If (TQt_3_0_0 -)
virtual void setSelectedFilter(const TQString &);
virtual void setSelectedFilter(int);
-%End
-%If (- TQt_2_00)
- void setSelection(const char *);
-%End
-%If (TQt_2_00 -)
void setSelection(const TQString &);
-%End
-%If (TQt_2_1_0 -)
void selectAll(bool);
TQStringList selectedFiles() const;
-%End
-%If (- TQt_2_00)
- const char *dirPath() const;
-%End
-%If (TQt_2_00 -)
TQString dirPath() const;
-%End
void setDir(const TQDir &);
const TQDir* dir() const;
-%If (TQt_2_1_0 -)
void setShowHiddenFiles(bool);
bool showHiddenFiles() const;
-%End
void rereadDir() /ReleaseGIL/;
-%If (TQt_2_1_0 -)
void resortDir();
-%End
-%If (- TQt_2_2_0)
- enum Mode {
- AnyFile,
- ExistingFile,
- Directory,
- ExistingFiles
- };
-%End
-%If (TQt_2_2_0 -)
enum Mode {
AnyFile,
ExistingFile,
@@ -249,12 +158,10 @@ public:
ExistingFiles,
DirectoryOnly
};
-%End
void setMode(Mode);
Mode mode() const;
-%If (TQt_2_1_0 -)
enum ViewMode {
Detail,
List
@@ -270,11 +177,9 @@ public:
ViewMode viewMode() const;
void setPreviewMode(PreviewMode);
PreviewMode previewMode() const;
-%End
bool eventFilter(TQObject *,TQEvent *);
-%If (TQt_2_1_0 -)
bool isInfoPreviewEnabled() const;
bool isContentsPreviewEnabled() const;
void setInfoPreviewEnabled(bool);
@@ -284,75 +189,33 @@ public:
void setContentsPreview(TQWidget *,TQFilePreview *);
TQUrl url() const;
-%End
-%If (TQt_3_0_0 -)
void addFilter(const TQString &);
-%End
public slots:
-%If (TQt_2_2_0 -)
void done(int);
-%End
-%If (- TQt_2_00)
- void setDir(const char *);
-%End
-%If (TQt_2_00 -)
void setDir(const TQString &);
-%End
-%If (TQt_2_1_0 -)
void setUrl(const TQUrlOperator &);
-%End
-%If (- TQt_2_00)
- void setFilter(const char *);
-%End
-%If (TQt_2_00 -)
void setFilter(const TQString &);
-%End
-%If (TQt_2_1_0 -)
void setFilters(const TQString &);
-%End
// void setFilters(const char **);
-%If (- TQt_2_00)
- void setFilters(const TQStrList &);
-%End
-%If (TQt_2_00 -)
void setFilters(const TQStringList &);
-%End
signals:
-%If (- TQt_2_00)
- void fileHighlighted(const char *);
- void fileSelected(const char *);
- void dirEntered(const char *);
-%End
-%If (TQt_2_00 -)
void fileHighlighted(const TQString &);
void fileSelected(const TQString &);
-%End
-%If (TQt_3_0_0 -)
void filesSelected(const TQStringList &);
-%End
-%If (TQt_2_00 -)
void dirEntered(const TQString &);
-%End
-%If (TQt_3_0_0 -)
void filterSelected(const TQString &);
-%End
protected:
void resizeEvent(TQResizeEvent *);
void keyPressEvent(TQKeyEvent *);
void addWidgets(TQLabel *,TQWidget *,TQPushButton *);
-%If (TQt_2_1_0 -)
void addToolButton(TQButton *,bool = 0);
void addLeftWidget(TQWidget *);
void addRightWidget(TQWidget *);
-%End
-%If (TQt_2_1_0 - TQt_3_0_0)
- void addFilter(const TQString &);
-%End
private:
TQFileDialog(const TQFileDialog &);