From 6f617c4181afa90f3eba14139d4f92eb98834899 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:05:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/libgui/project_manager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libgui/project_manager.cpp') 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(Main::action("project_open_recent"))->addURL(url.kurl()); + static_cast(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(); -- cgit v1.2.1