summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/eventaction.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kross/api/eventaction.cpp
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kross/api/eventaction.cpp')
-rw-r--r--lib/kross/api/eventaction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/api/eventaction.cpp b/lib/kross/api/eventaction.cpp
index fffaec5c..4210fb0e 100644
--- a/lib/kross/api/eventaction.cpp
+++ b/lib/kross/api/eventaction.cpp
@@ -20,13 +20,13 @@
#include "eventaction.h"
#include "variant.h"
-//#include <qobject.h>
+//#include <tqobject.h>
//#include <kaction.h>
using namespace Kross::Api;
-EventAction::EventAction(const QString& name, KAction* action)
- : Event<EventAction>(name.isEmpty() ? action->name() : name)
+EventAction::EventAction(const TQString& name, KAction* action)
+ : Event<EventAction>(name.isEmpty() ? TQString(action->name()) : name)
, m_action(action)
{
addFunction("getText", &EventAction::getText);
@@ -42,7 +42,7 @@ EventAction::~EventAction()
{
}
-const QString EventAction::getClassName() const
+const TQString EventAction::getClassName() const
{
return "Kross::Api::EventAction";
}