summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasemanipulator.cpp
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/clearcase/clearcasemanipulator.cpp
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/clearcase/clearcasemanipulator.cpp')
-rw-r--r--vcs/clearcase/clearcasemanipulator.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcs/clearcase/clearcasemanipulator.cpp b/vcs/clearcase/clearcasemanipulator.cpp
index c51436ba..5c9563f9 100644
--- a/vcs/clearcase/clearcasemanipulator.cpp
+++ b/vcs/clearcase/clearcasemanipulator.cpp
@@ -13,8 +13,8 @@
#include <kprocess.h>
-#include <qregexp.h>
-#include <qstring.h>
+#include <tqregexp.h>
+#include <tqstring.h>
#include <stdlib.h>
#include <libgen.h>
@@ -78,15 +78,15 @@ ClearcaseManipulator::~ClearcaseManipulator()
{}
-bool ClearcaseManipulator::isCCRepository( const QString & directory ) {
- QString cmd;
+bool ClearcaseManipulator::isCCRepository( const TQString & directory ) {
+ TQString cmd;
cmd = "cd " + directory + " && cleartool pwv -root";
if ( system(cmd.ascii()) == 0 ) return true;
return false;
}
-VCSFileInfoMap* ClearcaseManipulator::retreiveFilesInfos(const QString& directory) {
+VCSFileInfoMap* ClearcaseManipulator::retreiveFilesInfos(const TQString& directory) {
VCSFileInfoMap* fileInfoMap = new VCSFileInfoMap();
@@ -104,9 +104,9 @@ VCSFileInfoMap* ClearcaseManipulator::retreiveFilesInfos(const QString& director
int pos = 0;
int lastPos = -1;
- QStringList outputList;
- outputList = outputList.split(CT_DESC_SEPARATOR, QString(line), true );
- outputList[Name] = QString(basename((char*)outputList[Name].ascii()));
+ TQStringList outputList;
+ outputList = outputList.split(CT_DESC_SEPARATOR, TQString(line), true );
+ outputList[Name] = TQString(basename((char*)outputList[Name].ascii()));
VCSFileInfo::FileState state;
if (outputList[ClearcaseManipulator::State] == "unreserved" || outputList[ClearcaseManipulator::State] == "reserved") {