summaryrefslogtreecommitdiffstats
path: root/src/knutmessagemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutmessagemanager.h')
-rw-r--r--src/knutmessagemanager.h13
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);
/**