summaryrefslogtreecommitdiffstats
path: root/kjsembed/xmlactionclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/xmlactionclient.h')
-rw-r--r--kjsembed/xmlactionclient.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/xmlactionclient.h b/kjsembed/xmlactionclient.h
index 0dcabfe2..6b3d1b94 100644
--- a/kjsembed/xmlactionclient.h
+++ b/kjsembed/xmlactionclient.h
@@ -26,8 +26,8 @@
#include <tqxml.h>
#include <tqmap.h>
-class KActionCollection;
-class KAction;
+class TDEActionCollection;
+class TDEAction;
namespace KJSEmbed {
@@ -78,11 +78,11 @@ public:
*/
virtual ~XMLActionClient();
- /** Returns the KActionCollection that the actions will be added to. */
- KActionCollection *actionCollection() const { return ac; }
+ /** Returns the TDEActionCollection that the actions will be added to. */
+ TDEActionCollection *actionCollection() const { return ac; }
- /** Sets the KActionCollection that the actions will be added to. */
- void setActionCollection( KActionCollection *acts ) { ac = acts; }
+ /** Sets the TDEActionCollection that the actions will be added to. */
+ void setActionCollection( TDEActionCollection *acts ) { ac = acts; }
/** Returns the runner for this XMLActionClient. */
XMLActionRunner *runner() const { return actrun; }
@@ -109,7 +109,7 @@ public:
virtual bool bind( const TQString &name, const XMLActionScript &script );
/** Binds an action to a script. */
- virtual bool bind( KAction *act, const XMLActionScript &script );
+ virtual bool bind( TDEAction *act, const XMLActionScript &script );
protected slots:
/**
@@ -119,7 +119,7 @@ protected slots:
void action_activated();
private:
- KActionCollection *ac;
+ TDEActionCollection *ac;
XMLActionRunner *actrun;
TQMap<TQString, XMLActionScript> scripts;
class XMLActionClientPrivate *d;
@@ -187,8 +187,8 @@ public:
XMLActionClient *client() const { return actclient; }
- /** Creates a KAction based on the values read from the XML. */
- virtual KAction *createAction( KActionCollection *parent );
+ /** Creates a TDEAction based on the values read from the XML. */
+ virtual TDEAction *createAction( TDEActionCollection *parent );
private:
/**