summaryrefslogtreecommitdiffstats
path: root/tdeparts/event.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:02:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 21:00:39 +0200
commitc6cb3f27942501d24b0ded69c90ebbf7c43c755e (patch)
tree08aa592dea84d77931478751d69b47cb4d6b50ee /tdeparts/event.cpp
parentf41d2ce0f1929574f3b65eef2675ac65177608f1 (diff)
downloadtdelibs-c6cb3f27942501d24b0ded69c90ebbf7c43c755e.tar.gz
tdelibs-c6cb3f27942501d24b0ded69c90ebbf7c43c755e.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'tdeparts/event.cpp')
-rw-r--r--tdeparts/event.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/event.cpp b/tdeparts/event.cpp
index a25d61640..dd7aefa8c 100644
--- a/tdeparts/event.cpp
+++ b/tdeparts/event.cpp
@@ -22,10 +22,10 @@
using namespace KParts;
//the answer!
-#define KPARTS_EVENT_MAGIC 42
+#define TDEPARTS_EVENT_MAGIC 42
Event::Event( const char *eventName )
- : TQCustomEvent( (TQEvent::Type)(TQEvent::User + KPARTS_EVENT_MAGIC), (void *)eventName )
+ : TQCustomEvent( (TQEvent::Type)(TQEvent::User + TDEPARTS_EVENT_MAGIC), (void *)eventName )
{
}
@@ -42,7 +42,7 @@ bool Event::test( const TQEvent *event )
if ( !event )
return false;
- return ( event->type() == (TQEvent::Type)(TQEvent::User + KPARTS_EVENT_MAGIC ) );
+ return ( event->type() == (TQEvent::Type)(TQEvent::User + TDEPARTS_EVENT_MAGIC ) );
}
bool Event::test( const TQEvent *event, const char *name )