diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
commit | 383adc283801b6238d8acfc750890613a63f8060 (patch) | |
tree | af3a65389067c05263db2ef4551a541501422998 /src/sources/triggeredsource.cpp | |
parent | da7847adb43726079c7a4be1f06acbebe0bdde57 (diff) | |
download | kima-383adc283801b6238d8acfc750890613a63f8060.tar.gz kima-383adc283801b6238d8acfc750890613a63f8060.zip |
TQt4 port kima
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sources/triggeredsource.cpp')
-rw-r--r-- | src/sources/triggeredsource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sources/triggeredsource.cpp b/src/sources/triggeredsource.cpp index 88dde5e..c83b417 100644 --- a/src/sources/triggeredsource.cpp +++ b/src/sources/triggeredsource.cpp @@ -20,18 +20,18 @@ #include "triggeredsource.h" #include "updateevent.h" -#include <qapplication.h> +#include <tqapplication.h> //#include "kdebug.h" -TriggeredSource::TriggeredSource(QWidget* inParent): +TriggeredSource::TriggeredSource(TQWidget* inParent): Source(inParent){ } TriggeredSource::~TriggeredSource(){ } -void TriggeredSource::customEvent(QCustomEvent* event){ +void TriggeredSource::customEvent(TQCustomEvent* event){ if(event->type() == UpdateEvent::TYPE ){ UpdateEvent* ue = static_cast<UpdateEvent*>(event); // update mValue @@ -43,6 +43,6 @@ void TriggeredSource::customEvent(QCustomEvent* event){ } } -QString TriggeredSource::getValue() const{ +TQString TriggeredSource::getValue() const{ return mValue; } |