diff options
author | Slávek Banko <[email protected]> | 2013-10-08 00:13:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-10-08 05:14:53 +0200 |
commit | 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch) | |
tree | 770861aa9033e1dc6c5168358194ff85b32dd429 /src/projectmanager.cpp | |
parent | 57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff) | |
download | kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip |
Initial TQt conversion
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r-- | src/projectmanager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp index 998b4a5..252946d 100644 --- a/src/projectmanager.cpp +++ b/src/projectmanager.cpp @@ -58,17 +58,17 @@ ProjectManager::~ProjectManager() * @param opt A structure containing project options * @return true if successful, false otherwise */ -bool ProjectManager::create(const QString& sName, const QString& sPath, - const ProjectBase::Options& opt, QString& sProjDir) +bool ProjectManager::create(const TQString& sName, const TQString& sPath, + const ProjectBase::Options& opt, TQString& sProjDir) { - QDir dir(sPath); - QString sParentPath; - QString sDirName = sName; - QString sMsg; + TQDir dir(sPath); + TQString sParentPath; + TQString sDirName = sName; + TQString sMsg; // Handle requests for a hidden .cscope directory if (dir.dirName() == ".cscope") { - sParentPath = QDir::cleanDirPath(dir.absPath()); + sParentPath = TQDir::cleanDirPath(dir.absPath()); sParentPath = sParentPath.section('/', 0, -2); dir.cd(sParentPath); sDirName = ".cscope"; @@ -110,7 +110,7 @@ bool ProjectManager::create(const QString& sName, const QString& sPath, * @param sPath The directory containing the project's files * @return true if successful, false otherwise */ -bool ProjectManager::open(const QString& sPath) +bool ProjectManager::open(const TQString& sPath) { Project* pProj; @@ -137,7 +137,7 @@ bool ProjectManager::open(const QString& sPath) * @param sFilePath The full path of the Cscope.out file * @return true if successful, false otherwise */ -bool ProjectManager::openCscopeOut(const QString& sFilePath) +bool ProjectManager::openCscopeOut(const TQString& sFilePath) { ProjectBase* pProj; @@ -171,7 +171,7 @@ void ProjectManager::close() } } -QString ProjectManager::getProjName() const +TQString ProjectManager::getProjName() const { if (!m_pCurProj) return i18n("No Project"); |