diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
commit | 0a80cfd57d271dd44221467efb426675fa470356 (patch) | |
tree | 6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/notifier/notifiermessage.h | |
parent | 3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff) | |
download | kvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip |
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/notifier/notifiermessage.h')
-rw-r--r-- | src/modules/notifier/notifiermessage.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/modules/notifier/notifiermessage.h b/src/modules/notifier/notifiermessage.h index da4a6df2..19af4966 100644 --- a/src/modules/notifier/notifiermessage.h +++ b/src/modules/notifier/notifiermessage.h @@ -28,38 +28,38 @@ #include "kvi_settings.h" -#include <qwidget.h> -#include <qrect.h> -#include <qtimer.h> -#include <qpixmap.h> -#include <qimage.h> -#include <qfont.h> -#include <qcolor.h> -#include <qlineedit.h> +#include <tqwidget.h> +#include <tqrect.h> +#include <tqtimer.h> +#include <tqpixmap.h> +#include <tqimage.h> +#include <tqfont.h> +#include <tqcolor.h> +#include <tqlineedit.h> #include "kvi_qstring.h" #include "kvi_pointerlist.h" #include "kvi_time.h" #ifdef COMPILE_USE_QT4 - #define QSimpleRichText Q3SimpleRichText - #define QPopupMenu Q3PopupMenu - #include <q3popupmenu.h> - #include <q3simplerichtext.h> + #define TQSimpleRichText Q3SimpleRichText + #define TQPopupMenu Q3PopupMenu + #include <tq3popupmenu.h> + #include <tq3simplerichtext.h> #else - #include <qsimplerichtext.h> + #include <tqsimplerichtext.h> #endif class KviWindow; class KviNotifierWindow; -class QPopupMenu; +class TQPopupMenu; class KviNotifierMessage { friend class KviNotifierWindow; public: - KviNotifierMessage(KviNotifierWindow * pNotifierWindow, QPixmap * pImage, const QString &szText); + KviNotifierMessage(KviNotifierWindow * pNotifierWindow, TQPixmap * pImage, const TQString &szText); ~KviNotifierMessage(); // ================================ @@ -71,8 +71,8 @@ public: protected: KviWindow * m_pWindow; - QPixmap * m_pImage; - QSimpleRichText * m_pText; + TQPixmap * m_pImage; + TQSimpleRichText * m_pText; bool m_bHistoric; // ================================ @@ -84,8 +84,8 @@ public: bool historic(){ return m_bHistoric; }; void setHistoric(); void setWindow(KviWindow * pWnd){ m_pWindow = pWnd; }; - QPixmap * image(){ return m_pImage; }; - QSimpleRichText * text(){ return m_pText; }; + TQPixmap * image(){ return m_pImage; }; + TQSimpleRichText * text(){ return m_pText; }; protected: |