diff options
Diffstat (limited to 'kbabel/common/kbprojectmanager.cpp')
-rw-r--r-- | kbabel/common/kbprojectmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/common/kbprojectmanager.cpp b/kbabel/common/kbprojectmanager.cpp index 048c530a..ab117c97 100644 --- a/kbabel/common/kbprojectmanager.cpp +++ b/kbabel/common/kbprojectmanager.cpp @@ -39,15 +39,15 @@ namespace KBabel { -QPtrList<Project> ProjectManager::p_list; -QString ProjectManager::strDefaultProjectName = QString(); +TQPtrList<Project> ProjectManager::p_list; +TQString ProjectManager::strDefaultProjectName = TQString(); -Project::Ptr ProjectManager::open( const QString& file ) +Project::Ptr ProjectManager::open( const TQString& file ) { kdDebug() << k_funcinfo << " " << file << endl; // TODO: ensure full path // TODO: isn't a map better? - for(QPtrList<Project>::ConstIterator it = p_list.constBegin(); + for(TQPtrList<Project>::ConstIterator it = p_list.constBegin(); it != p_list.constEnd(); ++it) { if ((*it)->filename() == file) @@ -77,7 +77,7 @@ void ProjectManager::close( Project::Ptr project) project->config()->sync(); } -QString ProjectManager::defaultProjectName( void ) +TQString ProjectManager::defaultProjectName( void ) { if ( strDefaultProjectName.isEmpty() ) strDefaultProjectName = locateLocal("config", "kbabel.defaultproject" ); |