From 968af1d235ac30d737991b269156bee5dc99d318 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 19:37:06 +0000 Subject: 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 --- src/knutmessage.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/knutmessage.h') 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 -//#include -//#include +//#include +//#include /** @@ -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); }; -- cgit v1.2.1