diff options
Diffstat (limited to 'sip/qt/qdir.sip')
-rw-r--r-- | sip/qt/qdir.sip | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/sip/qt/qdir.sip b/sip/qt/qdir.sip index 12a98f7..7048399 100644 --- a/sip/qt/qdir.sip +++ b/sip/qt/qdir.sip @@ -158,34 +158,10 @@ public: }; TQDir(); -%If (- TQt_2_00) - TQDir(const char *,const char * = 0,int = Name | IgnoreCase,int = All); -%End -%If (TQt_2_00 -) TQDir(const TQString &,const TQString & = TQString::null, int = Name | IgnoreCase,int = All); -%End TQDir(const TQDir &); -%If (- TQt_2_00) - void setPath(const char *); - const char *path() const; - TQString absPath() const; - TQString canonicalPath() const; - - TQString dirName() const; - TQString filePath(const char *,bool = 1) const; - TQString absFilePath(const char *,bool = 1) const; - - static TQString convertSeparators(const char *); - - bool cd(const char *,bool = 1); - bool cdUp(); - - const char *nameFilter() const; - void setNameFilter(const char *); -%End -%If (TQt_2_00 -) virtual void setPath(const TQString &); virtual TQString path() const; virtual TQString absPath() const; @@ -202,29 +178,13 @@ public: TQString nameFilter() const; virtual void setNameFilter(const TQString &); -%End FilterSpec filter() const; -%If (- TQt_2_00) - void setFilter(int); -%End -%If (TQt_2_00 -) virtual void setFilter(int); -%End SortSpec sorting() const; -%If (- TQt_2_00) - void setSorting(int); -%End -%If (TQt_2_00 -) virtual void setSorting(int); -%End bool matchAllDirs() const; -%If (- TQt_2_00) - void setMatchAllDirs(bool); -%End -%If (TQt_2_00 -) virtual void setMatchAllDirs(bool); -%End uint count() const; @@ -288,16 +248,6 @@ public: Py_END_ALLOW_THREADS %End -%If (- TQt_2_00) - const TQStrList *entryList(int = DefaultFilter,int = DefaultSort) const; - const TQStrList *entryList(const char *,int = DefaultFilter, - int = DefaultSort) const; - const TQFileInfoList *entryInfoList(int = DefaultFilter, - int = DefaultSort) const; - const TQFileInfoList *entryInfoList(const char *,int = DefaultFilter, - int = DefaultSort) const; -%End -%If (TQt_2_00 -) virtual TQStrList encodedEntryList(int = DefaultFilter, int = DefaultSort) const; virtual TQStrList encodedEntryList(const TQString &,int = DefaultFilter, @@ -311,29 +261,9 @@ public: virtual const TQFileInfoList *entryInfoList(const TQString &, int = DefaultFilter, int = DefaultSort) const; -%End static const TQFileInfoList *drives(); -%If (- TQt_2_00) - bool mkdir(const char *,bool = 1) const; - bool rmdir(const char *,bool = 1) const; - - bool isReadable() const; - bool exists() const; - bool isRoot() const; - - bool isRelative() const; - void convertToAbs(); - - bool operator==(const TQDir &) const; - bool operator!=(const TQDir &) const; - - bool remove(const char *,bool = 1); - bool rename(const char *,const char *,bool = 1); - bool exists(const char *,bool = 1); -%End -%If (TQt_2_00 -) virtual bool mkdir(const TQString &,bool = 1) const; virtual bool rmdir(const TQString &,bool = 1) const; @@ -347,16 +277,10 @@ public: virtual bool remove(const TQString &,bool = 1); virtual bool rename(const TQString &,const TQString &,bool = 1); virtual bool exists(const TQString &,bool = 1); -%End static char separator(); -%If (- TQt_2_00) - static bool setCurrent(const char *); -%End -%If (TQt_2_00 -) static bool setCurrent(const TQString &); -%End static TQDir current(); static TQDir home(); static TQDir root(); @@ -364,20 +288,9 @@ public: static TQString homeDirPath(); static TQString rootDirPath(); -%If (- TQt_2_00) - static bool match(const char *,const char *); - static TQString cleanDirPath(const char *); - static bool isRelativePath(const char *); -%End -%If (TQt_2_1_0 -) static bool match(const TQStringList &,const TQString &); -%End -%If (TQt_2_00 -) static bool match(const TQString &,const TQString &); static TQString cleanDirPath(const TQString &); static bool isRelativePath(const TQString &); -%End -%If (TQt_3_1_0 -) void refresh() const; -%End }; |