From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- vcs/cvsservice/cvsdir.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'vcs/cvsservice/cvsdir.h') 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 -#include -#include +#include +#include +#include #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 "/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 "/.cvsignore" and, if not, * append it. */ - void ignoreFile( const QString &fileName ); + void ignoreFile( const TQString &fileName ); /** * Check if the specified @p fileName is in "/.cvsignore" and, if yes, * remove it. */ - void doNotIgnoreFile( const QString &fileName ); + void doNotIgnoreFile( const TQString &fileName ); /** * @return the content of "/CVS/Repository" */ - QString repository() const; + TQString repository() const; /** * @return the content of "/CVS/Root" */ - QString root() const; + TQString root() const; /** * @return full path of "/CVS/Entries" */ - QString entriesFileName() const; + TQString entriesFileName() const; /** * @return full path of "/CVS/Root" */ - QString rootFileName() const; + TQString rootFileName() const; /** * @return full path of "/CVS/Repository" */ - QString repoFileName() const; + TQString repoFileName() const; /** * @return full path of "/.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 CVSEntriesCacheMap; + typedef TQMap CVSEntriesCacheMap; mutable CVSEntriesCacheMap m_cachedEntries; }; -- cgit v1.2.1