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/clearcase/clearcasemanipulator.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vcs/clearcase/clearcasemanipulator.cpp') 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 -#include -#include +#include +#include #include #include @@ -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") { -- cgit v1.2.1