summaryrefslogtreecommitdiffstats
path: root/src/projectmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r--src/projectmanager.cpp20
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");