summaryrefslogtreecommitdiffstats
path: root/kspread/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kspread/plugins
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kspread/plugins')
-rw-r--r--kspread/plugins/calculator/main.cpp2
-rw-r--r--kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc2
-rw-r--r--kspread/plugins/scripting/scripting.cc6
3 files changed, 5 insertions, 5 deletions
diff --git a/kspread/plugins/calculator/main.cpp b/kspread/plugins/calculator/main.cpp
index 5bab1541..31e8ea78 100644
--- a/kspread/plugins/calculator/main.cpp
+++ b/kspread/plugins/calculator/main.cpp
@@ -86,7 +86,7 @@ Calculator::Calculator( View* parent, const char* name )
TDEGlobal::locale()->insertCatalogue("kspreadcalc_calc");
parent->installEventFilter( this );
- (void)new KAction( i18n("Calculator"), SmallIcon("kcalc", CalcFactory::global()),
+ (void)new TDEAction( i18n("Calculator"), SmallIcon("kcalc", CalcFactory::global()),
0, this, TQT_SLOT( showCalculator() ), actionCollection(), "kspreadcalc");
}
diff --git a/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc b/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc
index 9ad856f9..f2ea90a2 100644
--- a/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc
+++ b/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc
@@ -73,7 +73,7 @@ PluginInsertCalendar::PluginInsertCalendar( TQObject *parent, const char *name,
this->m_dialog = NULL;
- (void)new KAction( i18n("Insert Calendar..."), KShortcut::null(),
+ (void)new TDEAction( i18n("Insert Calendar..."), TDEShortcut::null(),
this, TQT_SLOT( slotShowDialog() ), actionCollection(), "kspreadinsertcalendar");
}
diff --git a/kspread/plugins/scripting/scripting.cc b/kspread/plugins/scripting/scripting.cc
index a919b31d..040bd98d 100644
--- a/kspread/plugins/scripting/scripting.cc
+++ b/kspread/plugins/scripting/scripting.cc
@@ -58,10 +58,10 @@ Scripting::Scripting(TQObject *parent, const char *name, const TQStringList &)
setXMLFile(locate("data","kspread/kpartplugins/scripting.rc"), true);
- new KAction(i18n("Execute Script File..."), 0, 0, m_scriptguiclient, TQT_SLOT(executeScriptFile()), actionCollection(), "executescriptfile");
- new KAction(i18n("Script Manager..."), 0, 0, m_scriptguiclient, TQT_SLOT(showScriptManager()), actionCollection(), "configurescripts");
+ new TDEAction(i18n("Execute Script File..."), 0, 0, m_scriptguiclient, TQT_SLOT(executeScriptFile()), actionCollection(), "executescriptfile");
+ new TDEAction(i18n("Script Manager..."), 0, 0, m_scriptguiclient, TQT_SLOT(showScriptManager()), actionCollection(), "configurescripts");
- KAction* scriptmenuaction = m_scriptguiclient->action("installedscripts");
+ TDEAction* scriptmenuaction = m_scriptguiclient->action("installedscripts");
actionCollection()->insert(scriptmenuaction);
connect(m_scriptguiclient, TQT_SIGNAL(executionFinished( const Kross::Api::ScriptAction* )), this, TQT_SLOT(executionFinished(const Kross::Api::ScriptAction*)));