summaryrefslogtreecommitdiffstats
path: root/src/modules/dockwidget/libkvidockwidget_qt4.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/dockwidget/libkvidockwidget_qt4.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-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/dockwidget/libkvidockwidget_qt4.h')
-rw-r--r--src/modules/dockwidget/libkvidockwidget_qt4.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/dockwidget/libkvidockwidget_qt4.h b/src/modules/dockwidget/libkvidockwidget_qt4.h
index 9d9e87bc..bf67148e 100644
--- a/src/modules/dockwidget/libkvidockwidget_qt4.h
+++ b/src/modules/dockwidget/libkvidockwidget_qt4.h
@@ -26,17 +26,18 @@
#include "kvi_frame.h"
class KviTalPopupMenu;
-#include <QSystemTrayIcon>
+#include <TQSystemTrayIcon>
-class QPixmap;
-class QTimer;
+class TQPixmap;
+class TQTimer;
//class KviFrame;
class KviDynamicToolTip;
-class KviDockWidget : public QSystemTrayIcon, public KviDockExtension
+class KviDockWidget : public TQSystemTrayIcon, public KviDockExtension
{
Q_OBJECT
+ TQ_OBJECT
public:
KviDockWidget(KviFrame * win);
~KviDockWidget();
@@ -51,8 +52,8 @@ protected:
bool m_bFlashed;
- QPixmap m_CurrentPixmap;
- QTimer* m_pFlashingTimer;
+ TQPixmap m_CurrentPixmap;
+ TQTimer* m_pFlashingTimer;
int m_iConsoles;
int m_iChannels;
int m_iQueries;
@@ -69,11 +70,11 @@ protected:
protected slots:
void fillContextPopup();
void toggleParentFrame();
- void tipRequest(KviDynamicToolTip *tip,const QPoint &pnt);
+ void tipRequest(KviDynamicToolTip *tip,const TQPoint &pnt);
void doAway(int);
void flashingTimerShot();
- void activatedSlot( QSystemTrayIcon::ActivationReason reason );
+ void activatedSlot( TQSystemTrayIcon::ActivationReason reason );
};
//#endif