diff options
Diffstat (limited to 'src/sources/triggeredsource.h')
-rw-r--r-- | src/sources/triggeredsource.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/sources/triggeredsource.h b/src/sources/triggeredsource.h index 9beba25..aa32464 100644 --- a/src/sources/triggeredsource.h +++ b/src/sources/triggeredsource.h @@ -22,7 +22,7 @@ #define TRIGGEREDSOURCE_H #include "source.h" -#include <qevent.h> +#include <tqevent.h> /** * TriggeredSource provides fetchValue and @@ -30,12 +30,13 @@ * @author Ken Werner */ class TriggeredSource : public Source{ - Q_OBJECT //macro which activates signals and slots (moc) + Q_OBJECT + TQ_OBJECT //macro which activates signals and slots (tqmoc) public: /** * Creates a new TriggeredSource */ - TriggeredSource(QWidget* inParent); + TriggeredSource(TQWidget* inParent); virtual ~TriggeredSource(); @@ -44,29 +45,29 @@ public slots: /** * Returns the formatted value of this source */ - virtual QString getValue() const; + virtual TQString getValue() const; /** * Fetches and returns the value of this source * This method might be called from a thread so don't call it directly */ - virtual QString fetchValue() = 0; + virtual TQString fetchValue() = 0; signals: /** * This signal is emitted whenever the value of this source (mValue) is updated */ - void valueUpdated(const QString& inValue); + void valueUpdated(const TQString& inValue); protected: /** * consumes the UpdateEvent */ - virtual void customEvent(QCustomEvent* event); + virtual void customEvent(TQCustomEvent* event); /** * the buffered value of this source */ - QString mValue; + TQString mValue; }; #endif //TRIGGEREDSOURCE_H |