From 78114a50964bc7bb5d7d99f713bb815ed5a623ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:16:56 +0200 Subject: Initial TDE conversion --- src/kscopeactions.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/kscopeactions.cpp') diff --git a/src/kscopeactions.cpp b/src/kscopeactions.cpp index 3caaedd..e74984d 100644 --- a/src/kscopeactions.cpp +++ b/src/kscopeactions.cpp @@ -25,7 +25,7 @@ * ***************************************************************************/ -#include +#include #include "kscope.h" #include "kscopeactions.h" #include "kscopeconfig.h" @@ -138,7 +138,7 @@ void KScopeActions::init() SIGNAL(toggleProject(bool))); addAction(i18n("&Make Project"), - "make_kdevelop", + "make_tdevelop", "Ctrl+M", m_pWindow, SLOT(slotProjectMake()), @@ -474,16 +474,16 @@ void KScopeActions::slotEnableFileActions(bool bEnable) * the action * @return The newly created action object */ -KAction* KScopeActions::addAction(const TQString& sCaption, const char* szIcon, +TDEAction* KScopeActions::addAction(const TQString& sCaption, const char* szIcon, const char* szShortcut, TQWidget* pReceiver, const char* szSlot, const char* szName, const char* szSignal) { - KAction* pAction; + TDEAction* pAction; // Create the action - pAction = new KAction(sCaption, + pAction = new TDEAction(sCaption, szIcon, - szShortcut == NULL ? KShortcut() : KShortcut(szShortcut), + szShortcut == NULL ? TDEShortcut() : TDEShortcut(szShortcut), pReceiver, szSlot, m_pCollection, @@ -508,16 +508,16 @@ KAction* KScopeActions::addAction(const TQString& sCaption, const char* szIcon, * the action * @return The newly created action object */ -KToggleAction* KScopeActions::addToggle(const TQString& sCaption, +TDEToggleAction* KScopeActions::addToggle(const TQString& sCaption, const char* szIcon, const char* szShortcut, TQWidget* pReceiver, const char* szSlot, const char* szName, const char* szSignal) { - KToggleAction* pAction; + TDEToggleAction* pAction; // Create the action - pAction = new KToggleAction(sCaption, + pAction = new TDEToggleAction(sCaption, szIcon, - szShortcut == NULL ? KShortcut() : KShortcut(szShortcut), + szShortcut == NULL ? TDEShortcut() : TDEShortcut(szShortcut), pReceiver, szSlot, m_pCollection, -- cgit v1.2.1