From deac2ca49faed824fe83066080714eb6d653615b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:01 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- interfaces/tdescript/scriptloader.cpp | 6 +++--- interfaces/tdescript/scriptloader.h | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'interfaces/tdescript') diff --git a/interfaces/tdescript/scriptloader.cpp b/interfaces/tdescript/scriptloader.cpp index 1ff34f98a..a11032ada 100644 --- a/interfaces/tdescript/scriptloader.cpp +++ b/interfaces/tdescript/scriptloader.cpp @@ -33,11 +33,11 @@ #include -ScriptLoader::ScriptLoader(KMainWindow *parent) : TQObject (parent) +ScriptLoader::ScriptLoader(TDEMainWindow *parent) : TQObject (parent) { m_parent = parent; m_scripts.clear(); - m_theAction = new KSelectAction ( i18n("KDE Scripts"), + m_theAction = new TDESelectAction ( i18n("KDE Scripts"), 0, this, TQT_SLOT(runAction()), @@ -51,7 +51,7 @@ ScriptLoader::~ScriptLoader() m_scripts.clear(); } -KSelectAction * ScriptLoader::getScripts() +TDESelectAction * ScriptLoader::getScripts() { // Get the available scripts for this application. TQStringList pluginList = ""; diff --git a/interfaces/tdescript/scriptloader.h b/interfaces/tdescript/scriptloader.h index a249283d6..d0b338822 100644 --- a/interfaces/tdescript/scriptloader.h +++ b/interfaces/tdescript/scriptloader.h @@ -33,12 +33,12 @@ class ScriptLoader : virtual public QObject /** * Default Constructor */ - ScriptLoader(KMainWindow *parent=0); + ScriptLoader(TDEMainWindow *parent=0); ~ScriptLoader(); - /** Return the a KSelectAction with all of the scripts - * @returns KSelectAction containing access to all of the scripts + /** Return the a TDESelectAction with all of the scripts + * @returns TDESelectAction containing access to all of the scripts */ - KSelectAction *getScripts(); + TDESelectAction *getScripts(); public slots: /** Run the current action. */ @@ -52,8 +52,8 @@ class ScriptLoader : virtual public QObject virtual void done(int errorCode); private: TQPtrList m_scripts; - KSelectAction *m_theAction; + TDESelectAction *m_theAction; int m_currentSelection; - KMainWindow *m_parent; + TDEMainWindow *m_parent; }; #endif -- cgit v1.2.3