summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/clearcasemanipulator.cpp
diff options
context:
space:
mode:
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") {