summaryrefslogtreecommitdiffstats
path: root/src/projectmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /src/projectmanager.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r--src/projectmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp
index 96e258e9..dbaa49c5 100644
--- a/src/projectmanager.cpp
+++ b/src/projectmanager.cpp
@@ -89,18 +89,18 @@ ProjectManager *ProjectManager::getInstance()
return s_instance;
}
-void ProjectManager::createActions( KActionCollection* ac )
+void ProjectManager::createActions( TDEActionCollection* ac )
{
- KAction *action;
+ TDEAction *action;
- action = new KAction(i18n("&Open Project..."), "project_open", 0,
+ action = new TDEAction(i18n("&Open Project..."), "project_open", 0,
this, TQT_SLOT(slotOpenProject()),
ac, "project_open");
action->setToolTip( i18n("Open project"));
action->setWhatsThis(i18n("<b>Open project</b><p>Opens a KDevelop3 or KDevelop2 project."));
m_openRecentProjectAction =
- new KRecentFilesAction(i18n("Open &Recent Project"), 0,
+ new TDERecentFilesAction(i18n("Open &Recent Project"), 0,
this, TQT_SLOT(loadProject(const KURL &)),
ac, "project_open_recent");
m_openRecentProjectAction->setToolTip(i18n("Open recent project"));
@@ -108,14 +108,14 @@ void ProjectManager::createActions( KActionCollection* ac )
m_openRecentProjectAction->loadEntries(kapp->config(), "RecentProjects");
m_closeProjectAction =
- new KAction(i18n("C&lose Project"), "fileclose",0,
+ new TDEAction(i18n("C&lose Project"), "fileclose",0,
this, TQT_SLOT(closeProject()),
ac, "project_close");
m_closeProjectAction->setEnabled(false);
m_closeProjectAction->setToolTip(i18n("Close project"));
m_closeProjectAction->setWhatsThis(i18n("<b>Close project</b><p>Closes the current project."));
- m_projectOptionsAction = new KAction(i18n("Project &Options"), "configure", 0,
+ m_projectOptionsAction = new TDEAction(i18n("Project &Options"), "configure", 0,
this, TQT_SLOT(slotProjectOptions()),
ac, "project_options" );
m_projectOptionsAction->setToolTip(i18n("Project options"));