summaryrefslogtreecommitdiffstats
path: root/kjsembed/tools/headers/qdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/tools/headers/qdir.h')
-rw-r--r--kjsembed/tools/headers/qdir.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/kjsembed/tools/headers/qdir.h b/kjsembed/tools/headers/qdir.h
index 4db56e03..34d064b1 100644
--- a/kjsembed/tools/headers/qdir.h
+++ b/kjsembed/tools/headers/qdir.h
@@ -1,7 +1,7 @@
/****************************************************************************
**
**
-** Definition of TTQDir class
+** Definition of TQDir class
**
** Created : 950427
**
@@ -46,10 +46,10 @@
#ifndef QT_NO_DIR
-typedef TTQPtrList<TTQFileInfo> TQFileInfoList;
-typedef TTQPtrListIterator<TTQFileInfo> TQFileInfoListIterator;
-class TTQStringList;
-template <class T> class TTQDeepCopy;
+typedef TQPtrList<TQFileInfo> TQFileInfoList;
+typedef TQPtrListIterator<TQFileInfo> TQFileInfoListIterator;
+class TQStringList;
+template <class T> class TQDeepCopy;
class Q_EXPORT TQDir
@@ -85,34 +85,34 @@ public:
IgnoreCase = 0x10,
DefaultSort = -1 };
- TTQDir();
- TTQDir( const TTQString &path, const TTQString &nameFilter = TTQString::null,
+ TQDir();
+ TQDir( const TQString &path, const TQString &nameFilter = TQString::null,
int sortSpec = Name | IgnoreCase, int filterSpec = All );
- TTQDir( const TTQDir & );
+ TQDir( const TQDir & );
- virtual ~TTQDir();
+ virtual ~TQDir();
- TTQDir &operator=( const TTQDir & );
- TTQDir &operator=( const TTQString &path );
+ TQDir &operator=( const TQDir & );
+ TQDir &operator=( const TQString &path );
- virtual void setPath( const TTQString &path );
- virtual TTQString path() const;
- virtual TTQString absPath() const;
- virtual TTQString canonicalPath() const;
+ virtual void setPath( const TQString &path );
+ virtual TQString path() const;
+ virtual TQString absPath() const;
+ virtual TQString canonicalPath() const;
- virtual TTQString dirName() const;
- virtual TTQString filePath( const TTQString &fileName,
+ virtual TQString dirName() const;
+ virtual TQString filePath( const TQString &fileName,
bool acceptAbsPath = TRUE ) const;
- virtual TTQString absFilePath( const TTQString &fileName,
+ virtual TQString absFilePath( const TQString &fileName,
bool acceptAbsPath = TRUE ) const;
- static TTQString convertSeparators( const TTQString &pathName );
+ static TQString convertSeparators( const TQString &pathName );
- virtual bool cd( const TTQString &dirName, bool acceptAbsPath = TRUE );
+ virtual bool cd( const TQString &dirName, bool acceptAbsPath = TRUE );
virtual bool cdUp();
TQString nameFilter() const;
- virtual void setNameFilter( const TTQString &nameFilter );
+ virtual void setNameFilter( const TQString &nameFilter );
FilterSpec filter() const;
virtual void setFilter( int filterSpec );
SortSpec sorting() const;
@@ -124,28 +124,28 @@ public:
uint count() const;
TQString operator[]( int ) const;
- virtual TTQStrList encodedEntryList( int filterSpec = DefaultFilter,
+ virtual TQStrList encodedEntryList( int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
- virtual TTQStrList encodedEntryList( const TTQString &nameFilter,
+ virtual TQStrList encodedEntryList( const TQString &nameFilter,
int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
- virtual TTQStringList entryList( int filterSpec = DefaultFilter,
+ virtual TQStringList entryList( int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
- virtual TTQStringList entryList( const TTQString &nameFilter,
+ virtual TQStringList entryList( const TQString &nameFilter,
int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
virtual const TQFileInfoList *entryInfoList( int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
- virtual const TQFileInfoList *entryInfoList( const TTQString &nameFilter,
+ virtual const TQFileInfoList *entryInfoList( const TQString &nameFilter,
int filterSpec = DefaultFilter,
int sortSpec = DefaultSort ) const;
static const TQFileInfoList *drives();
- virtual bool mkdir( const TTQString &dirName,
+ virtual bool mkdir( const TQString &dirName,
bool acceptAbsPath = TRUE ) const;
- virtual bool rmdir( const TTQString &dirName,
+ virtual bool rmdir( const TQString &dirName,
bool acceptAbsPath = TRUE ) const;
virtual bool isReadable() const;
@@ -155,45 +155,45 @@ public:
virtual bool isRelative() const;
virtual void convertToAbs();
- virtual bool operator==( const TTQDir & ) const;
- virtual bool operator!=( const TTQDir & ) const;
+ virtual bool operator==( const TQDir & ) const;
+ virtual bool operator!=( const TQDir & ) const;
- virtual bool remove( const TTQString &fileName,
+ virtual bool remove( const TQString &fileName,
bool acceptAbsPath = TRUE );
- virtual bool rename( const TTQString &name, const TTQString &newName,
+ virtual bool rename( const TQString &name, const TQString &newName,
bool acceptAbsPaths = TRUE );
- virtual bool exists( const TTQString &name,
+ virtual bool exists( const TQString &name,
bool acceptAbsPath = TRUE );
static char separator();
- static bool setCurrent( const TTQString &path );
- static TTQDir current();
- static TTQDir home();
- static TTQDir root();
- static TTQString currentDirPath();
- static TTQString homeDirPath();
- static TTQString rootDirPath();
-
- static bool match( const TTQStringList &filters, const TTQString &fileName );
- static bool match( const TTQString &filter, const TTQString &fileName );
- static TTQString cleanDirPath( const TTQString &dirPath );
- static bool isRelativePath( const TTQString &path );
+ static bool setCurrent( const TQString &path );
+ static TQDir current();
+ static TQDir home();
+ static TQDir root();
+ static TQString currentDirPath();
+ static TQString homeDirPath();
+ static TQString rootDirPath();
+
+ static bool match( const TQStringList &filters, const TQString &fileName );
+ static bool match( const TQString &filter, const TQString &fileName );
+ static TQString cleanDirPath( const TQString &dirPath );
+ static bool isRelativePath( const TQString &path );
void refresh() const;
private:
#ifdef Q_OS_MAC
typedef struct FSSpec FSSpec;
- static FSSpec *make_spec(const TTQString &);
+ static FSSpec *make_spec(const TQString &);
#endif
void init();
- virtual bool readDirEntries( const TTQString &nameFilter,
+ virtual bool readDirEntries( const TQString &nameFilter,
int FilterSpec, int SortSpec );
- static void slashify( TTQString & );
+ static void slashify( TQString & );
TQString dPath;
- TTQStringList *fList;
+ TQStringList *fList;
TQFileInfoList *fiList;
TQString nameFilt;
FilterSpec filtS;
@@ -202,44 +202,44 @@ private:
uint allDirs : 1;
void detach();
- friend class TTQDeepCopy< TTQDir >;
+ friend class TQDeepCopy< TQDir >;
};
-inline TTQString TTQDir::path() const
+inline TQString TQDir::path() const
{
return dPath;
}
-inline TTQString TTQDir::nameFilter() const
+inline TQString TQDir::nameFilter() const
{
return nameFilt;
}
-inline TTQDir::FilterSpec TTQDir::filter() const
+inline TQDir::FilterSpec TQDir::filter() const
{
return filtS;
}
-inline TTQDir::SortSpec TTQDir::sorting() const
+inline TQDir::SortSpec TQDir::sorting() const
{
return sortS;
}
-inline bool TTQDir::matchAllDirs() const
+inline bool TQDir::matchAllDirs() const
{
return allDirs;
}
-inline bool TTQDir::operator!=( const TTQDir &d ) const
+inline bool TQDir::operator!=( const TQDir &d ) const
{
return !(*this == d);
}
struct TQDirSortItem {
- TTQString filename_cache;
- TTQFileInfo* item;
+ TQString filename_cache;
+ TQFileInfo* item;
};
#endif // QT_NO_DIR