From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: 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 --- src/modules/dcc/canvas.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/modules/dcc/canvas.h') diff --git a/src/modules/dcc/canvas.h b/src/modules/dcc/canvas.h index 8e6b1fb3..38349cae 100644 --- a/src/modules/dcc/canvas.h +++ b/src/modules/dcc/canvas.h @@ -40,28 +40,29 @@ class KviDccMarshal; class KviCanvasWidget; -class QSplitter; +class TQSplitter; class KviDccCanvas : public KviDccWindow { Q_OBJECT + TQ_OBJECT public: KviDccCanvas(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name); ~KviDccCanvas(); protected: // KviDccCanvasThread * m_pSlaveThread; KviCanvasWidget * m_pCanvas; -// QSplitter * m_pTopSplitter; - QString m_szTarget; +// TQSplitter * m_pTopSplitter; + TQString m_szTarget; protected: - virtual const QString &target(); + virtual const TQString &target(); virtual void fillCaptionBuffers(); virtual void getBaseLogFileName(KviStr &buffer); - virtual QPixmap * myIconPtr(); - virtual void resizeEvent(QResizeEvent *e); - virtual QSize sizeHint() const; - virtual bool event(QEvent *e); + virtual TQPixmap * myIconPtr(); + virtual void resizeEvent(TQResizeEvent *e); + virtual TQSize tqsizeHint() const; + virtual bool event(TQEvent *e); virtual void ownMessage(const char *text); virtual void ownAction(const char *text); protected slots: -- cgit v1.2.1