summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice/cvsdir.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /vcs/cvsservice/cvsdir.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/cvsservice/cvsdir.h')
-rw-r--r--vcs/cvsservice/cvsdir.h36
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;
};