diff options
Diffstat (limited to 'src/libgui/project_manager.cpp')
-rw-r--r-- | src/libgui/project_manager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgui/project_manager.cpp b/src/libgui/project_manager.cpp index c9eabc1..c568ebd 100644 --- a/src/libgui/project_manager.cpp +++ b/src/libgui/project_manager.cpp @@ -67,7 +67,7 @@ void ProjectManager::View::init() clear(); _rootItem = new RootItem(this); setCurrentItem(_rootItem); - KListViewItem *item = new RegisterItem(headerItem(DeviceGroup)); + TDEListViewItem *item = new RegisterItem(headerItem(DeviceGroup)); ensureItemVisible(item); _deviceItem = new DeviceItem(headerItem(DeviceGroup)); ensureItemVisible(_deviceItem); @@ -524,7 +524,7 @@ bool ProjectManager::View::openProject(const PURL::Url &url) if ( url.isEmpty() ) return false; bool reload = ( _project && _project->url()==url ); if ( reload && !MessageBox::askContinue(i18n("Project already loaded. Reload?"), i18n("Reload")) ) return false; - static_cast< KRecentFilesAction *>(Main::action("project_open_recent"))->removeURL(url.kurl()); + static_cast< TDERecentFilesAction *>(Main::action("project_open_recent"))->removeURL(url.kurl()); Project *p = new Project(url); TQString error; if ( !p->load(error) ) { @@ -538,7 +538,7 @@ bool ProjectManager::View::openProject(const PURL::Url &url) for(it=files.begin(); it!=files.end(); ++it) addFile(*it, (*it).fileType(), Intrinsic); _projectData.type = PURL::Project; _projectData.externals.clear(); - static_cast<KRecentFilesAction *>(Main::action("project_open_recent"))->addURL(url.kurl()); + static_cast<TDERecentFilesAction *>(Main::action("project_open_recent"))->addURL(url.kurl()); files = _project->openedFiles(); for(it = files.begin(); it!=files.end(); ++it) Main::editorManager().openFile(*it); Register::list().init(); |