summaryrefslogtreecommitdiffstats
path: root/lib/kross/api
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /lib/kross/api
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'lib/kross/api')
-rw-r--r--lib/kross/api/eventaction.cpp2
-rw-r--r--lib/kross/api/eventaction.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/api/eventaction.cpp b/lib/kross/api/eventaction.cpp
index 4210fb0e..7578eb30 100644
--- a/lib/kross/api/eventaction.cpp
+++ b/lib/kross/api/eventaction.cpp
@@ -25,7 +25,7 @@
using namespace Kross::Api;
-EventAction::EventAction(const TQString& name, KAction* action)
+EventAction::EventAction(const TQString& name, TDEAction* action)
: Event<EventAction>(name.isEmpty() ? TQString(action->name()) : name)
, m_action(action)
{
diff --git a/lib/kross/api/eventaction.h b/lib/kross/api/eventaction.h
index e20656df..602a697f 100644
--- a/lib/kross/api/eventaction.h
+++ b/lib/kross/api/eventaction.h
@@ -33,7 +33,7 @@ namespace Kross { namespace Api {
class ScriptContainer;
/**
- * The EventAction class is used to wrap KAction instances
+ * The EventAction class is used to wrap TDEAction instances
* into the Kross object hierachy and provide access to
* them.
*/
@@ -50,7 +50,7 @@ namespace Kross { namespace Api {
/**
* Constructor.
*/
- EventAction(const TQString& name, KAction* action);
+ EventAction(const TQString& name, TDEAction* action);
/**
* Destructor.
@@ -64,7 +64,7 @@ namespace Kross { namespace Api {
//virtual Object::Ptr call(const TQString& name, TDESharedPtr<List> arguments);
private:
- KAction* m_action;
+ TDEAction* m_action;
/// \return the text associated with this action.
Kross::Api::Object::Ptr getText(Kross::Api::List::Ptr);