diff options
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r-- | src/projectmanager.cpp | 12 |
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")); |