diff options
Diffstat (limited to 'vcs/cvsservice/cvsdir.h')
-rw-r--r-- | vcs/cvsservice/cvsdir.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/vcs/cvsservice/cvsdir.h b/vcs/cvsservice/cvsdir.h index 606f7507..bd745d3e 100644 --- a/vcs/cvsservice/cvsdir.h +++ b/vcs/cvsservice/cvsdir.h @@ -12,9 +12,9 @@ #ifndef CVSDIR_H #define CVSDIR_H -#include <qdir.h> -#include <qstringlist.h> -#include <qmap.h> +#include <tqdir.h> +#include <tqstringlist.h> +#include <tqmap.h> #include "cvsentry.h" @@ -27,7 +27,7 @@ class CVSDir : public QDir { public: CVSDir(); - CVSDir( const QDir &dir ); + CVSDir( const TQDir &dir ); explicit CVSDir( const CVSDir & ); CVSDir &operator=( const CVSDir & ); virtual ~CVSDir(); @@ -40,13 +40,13 @@ public: /** * Returns a list of all the files registered into repository */ - QStringList registeredEntryList() const; + TQStringList registeredEntryList() const; /** * @param fileName is the file name (with no path info, just the file name!) * @param refreshCache update internal cache re-parsing "<dirPath>/CVS/Entries" * @return an empty CVSEntry if the file is not present */ - CVSEntry fileStatus( const QString &fileName, bool refreshCache = false ) const; + CVSEntry fileStatus( const TQString &fileName, bool refreshCache = false ) const; /** */ VCSFileInfoMap dirStatus() const; @@ -54,49 +54,49 @@ public: /** * @return true if the file is registered into repository, false otherwise */ - bool isRegistered( const QString fileName ) const; + bool isRegistered( const TQString fileName ) const; /** * Check if the specified @p fileName is in "<CVSDIR>/.cvsignore" and, if not, * append it. */ - void ignoreFile( const QString &fileName ); + void ignoreFile( const TQString &fileName ); /** * Check if the specified @p fileName is in "<CVSDIR>/.cvsignore" and, if yes, * remove it. */ - void doNotIgnoreFile( const QString &fileName ); + void doNotIgnoreFile( const TQString &fileName ); /** * @return the content of "<CVSDIR>/CVS/Repository" */ - QString repository() const; + TQString repository() const; /** * @return the content of "<CVSDIR>/CVS/Root" */ - QString root() const; + TQString root() const; /** * @return full path of "<this-dir>/CVS/Entries" */ - QString entriesFileName() const; + TQString entriesFileName() const; /** * @return full path of "<this-dir>/CVS/Root" */ - QString rootFileName() const; + TQString rootFileName() const; /** * @return full path of "<this-dir>/CVS/Repository" */ - QString repoFileName() const; + TQString repoFileName() const; /** * @return full path of "<this-dir>/.cvsignore" */ - QString cvsIgnoreFileName() const; + TQString cvsIgnoreFileName() const; private: void refreshEntriesCache() const; - static QByteArray cacheFile( const QString &fileName ); + static TQByteArray cacheFile( const TQString &fileName ); - QString m_cvsDir; + TQString m_cvsDir; - typedef QMap<QString,CVSEntry> CVSEntriesCacheMap; + typedef TQMap<TQString,CVSEntry> CVSEntriesCacheMap; mutable CVSEntriesCacheMap m_cachedEntries; }; |