summaryrefslogtreecommitdiffstats
path: root/interfaces/tdescript
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/tdescript')
-rw-r--r--interfaces/tdescript/scriptloader.cpp6
-rw-r--r--interfaces/tdescript/scriptloader.h12
2 files changed, 9 insertions, 9 deletions
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 <tqfileinfo.h>
-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<KScriptInterface> m_scripts;
- KSelectAction *m_theAction;
+ TDESelectAction *m_theAction;
int m_currentSelection;
- KMainWindow *m_parent;
+ TDEMainWindow *m_parent;
};
#endif