summaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:13:01 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:13:01 -0600
commitdeac2ca49faed824fe83066080714eb6d653615b (patch)
tree8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /interfaces
parent0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff)
downloadtdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz
tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'interfaces')
-rw-r--r--interfaces/tdemediaplayer/player.h2
-rw-r--r--interfaces/tdescript/scriptloader.cpp6
-rw-r--r--interfaces/tdescript/scriptloader.h12
-rw-r--r--interfaces/terminal/test/main.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/interfaces/tdemediaplayer/player.h b/interfaces/tdemediaplayer/player.h
index 493a921e3..05582ca07 100644
--- a/interfaces/tdemediaplayer/player.h
+++ b/interfaces/tdemediaplayer/player.h
@@ -39,7 +39,7 @@ namespace KMediaPlayer
*
* There are two servicetypes for Player: KMediaPlayer/Player and
* KMediaPlayer/Engine. KMediaPlayer/Player provides a widget (accessable
- * through view as well as XML GUI KActions. KMediaPlayer/Engine omits
+ * through view as well as XML GUI TDEActions. KMediaPlayer/Engine omits
* the user interface facets, for those who wish to provide their own
* interface.
*/
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
diff --git a/interfaces/terminal/test/main.h b/interfaces/terminal/test/main.h
index 098c10d54..256b0840a 100644
--- a/interfaces/terminal/test/main.h
+++ b/interfaces/terminal/test/main.h
@@ -3,7 +3,7 @@
class Win
- : public KMainWindow
+ : public TDEMainWindow
{
Q_OBJECT
KParts::Part* p;