From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/projectmanager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/projectmanager.cpp') 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("Open project

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("Close project

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")); -- cgit v1.2.1