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/knutmessage.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/knutmessage.h')
-rw-r--r-- | src/knutmessage.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/knutmessage.h b/src/knutmessage.h index 6be9f5d..a4a2511 100644 --- a/src/knutmessage.h +++ b/src/knutmessage.h @@ -20,8 +20,8 @@ #include <kdialogbase.h> -//#include <qpixmap.h> -//#include <qtimer.h> +//#include <tqpixmap.h> +//#include <tqtimer.h> /** @@ -29,8 +29,8 @@ */ -class QTimer; -class QPixmap; +class TQTimer; +class TQPixmap; /** * Tato trida zobrazi okno zpravy v modeless rezimu. @@ -42,6 +42,7 @@ class QPixmap; */ class KNutMessage : public KDialogBase { Q_OBJECT + TQ_OBJECT public: enum typeOfMessage { @@ -63,7 +64,7 @@ enum typeOfMessage { * @param timeValidity maximalni doba zobrazeni okna, je-li rovna nule je neomezena. * @since 0.2 */ - KNutMessage(const QString messageText, const typeOfMessage type=infoMess, const long int timeValidity=0, QWidget *parent=0, const char *name=0); + KNutMessage(const TQString messageText, const typeOfMessage type=infoMess, const long int timeValidity=0, TQWidget *tqparent=0, const char *name=0); /** * Destruktor. @@ -114,11 +115,11 @@ private: // max rime for message window is 3600 sec or 60 min static const int maxTime = 3600; - QPixmap m_ret; - QTimer* m_messageTimer; + TQPixmap m_ret; + TQTimer* m_messageTimer; protected: - void moveEvent ( QMoveEvent * e); + void moveEvent ( TQMoveEvent * e); }; |