diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:37:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:37:06 +0000 |
commit | 968af1d235ac30d737991b269156bee5dc99d318 (patch) | |
tree | 19b118fa5380087e10cb728be545760791ce0676 /src/knutmessagemanager.h | |
parent | aea4882f3b37f17c5b56bc77667e683c52254c30 (diff) | |
download | knutclient-968af1d235ac30d737991b269156bee5dc99d318.tar.gz knutclient-968af1d235ac30d737991b269156bee5dc99d318.zip |
TQt4 port knutclient
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1238881 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knutmessagemanager.h')
-rw-r--r-- | src/knutmessagemanager.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/knutmessagemanager.h b/src/knutmessagemanager.h index 3267c6e..6434b69 100644 --- a/src/knutmessagemanager.h +++ b/src/knutmessagemanager.h @@ -20,7 +20,7 @@ #include "knutmessage.h" -#include <qobject.h> +#include <tqobject.h> /** *@author Daniel Prynych @@ -33,12 +33,12 @@ enum LevelOfMessage { lowWarningLevel, // OVER, warningLevel, // OB .. errorLevel, // connection error - criticalLevel // Status BL, OFF + criticalLevel // tqStatus BL, OFF }; } -class QString; +class TQString; /** * Tato trida slouzi pro ovladani vyskakovacich oken (pop-up) @@ -48,15 +48,16 @@ class QString; * @short window message manager * @version 0.1 */ -class KNutMessageManager : public QObject { +class KNutMessageManager : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Konstruktor - vytvori instanci tridy. * * @since 0.1 */ - KNutMessageManager( QObject *parent=0, const char *name=0); + KNutMessageManager( TQObject *tqparent=0, const char *name=0); /** * Destruktor. @@ -77,7 +78,7 @@ class KNutMessageManager : public QObject { * * @since 0.2 **/ - void addMessage (QString text, knc::LevelOfMessage messageLevel = knc::infoLevel, bool useInfoIcon = false, bool useShortTimeOfValidity = false); + void addMessage (TQString text, knc::LevelOfMessage messageLevel = knc::infoLevel, bool useInfoIcon = false, bool useShortTimeOfValidity = false); /** |