diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /lib/util/tdescriptactionmanager.h | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'lib/util/tdescriptactionmanager.h')
-rw-r--r-- | lib/util/tdescriptactionmanager.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/util/tdescriptactionmanager.h b/lib/util/tdescriptactionmanager.h index c2e43238..6c68457b 100644 --- a/lib/util/tdescriptactionmanager.h +++ b/lib/util/tdescriptactionmanager.h @@ -24,14 +24,14 @@ #include <tqobject.h> #include <tqptrlist.h> -class KAction; -class KActionCollection; +class TDEAction; +class TDEActionCollection; class KScriptInterface; class KScriptActionManager; class TQTimer; /** -* Connects a KAction to a script runner. +* Connects a TDEAction to a script runner. * * @author ian geiser [email protected] */ @@ -40,14 +40,14 @@ class KScriptAction : public TQObject, public KScriptClientInterface { public: - KScriptAction( const TQString &scriptDesktopFile, TQObject *interface, KActionCollection *ac ); + KScriptAction( const TQString &scriptDesktopFile, TQObject *interface, TDEActionCollection *ac ); virtual ~KScriptAction(); /** - * KAction for the current script + * TDEAction for the current script */ - KAction *action(); + TDEAction *action(); /** * Returns the validity of the current script. @@ -75,7 +75,7 @@ private slots: void scriptFinished(); private: - KAction *m_action; + TDEAction *m_action; TQString m_scriptName; TQString m_scriptType; TQString m_scriptFile; @@ -99,7 +99,7 @@ public: /** * Create a script manager that is attached to an action collection. */ - KScriptActionManager( TQObject *parent, KActionCollection *ac ); + KScriptActionManager( TQObject *parent, TDEActionCollection *ac ); ~KScriptActionManager(); /** @@ -110,7 +110,7 @@ public: * the manager will search in $KDEPATH/data/coolapp/data for all desktop * files that are scripts. */ - TQPtrList<KAction> scripts( TQObject *interface, const TQStringList &dirs = TQStringList() ) const; + TQPtrList<TDEAction> scripts( TQObject *interface, const TQStringList &dirs = TQStringList() ) const; signals: /** @@ -136,6 +136,6 @@ signals: private: mutable TQPtrList<KScriptAction> m_actions; - KActionCollection *m_ac; + TDEActionCollection *m_ac; }; #endif |