From f138d74fe16092003b06f5bde9663841929cde7f Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 22:17:08 +0000 Subject: TQt4 port kdeaccessibility This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmag/kmagselrect.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'kmag/kmagselrect.h') diff --git a/kmag/kmagselrect.h b/kmag/kmagselrect.h index e0e8348..9180b36 100644 --- a/kmag/kmagselrect.h +++ b/kmag/kmagselrect.h @@ -22,18 +22,19 @@ #include -// Qt includes +// TQt includes #include #include #include -class KMagSelWinCorner : public QLabel +class KMagSelWinCorner : public TQLabel { Q_OBJECT + TQ_OBJECT public: - KMagSelWinCorner ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ); + KMagSelWinCorner ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 ); virtual ~KMagSelWinCorner(); @@ -51,13 +52,14 @@ protected: virtual void mouseMoveEvent ( TQMouseEvent * e ); }; -class KMagSelWin : public QWidget +class KMagSelWin : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KMagSelWin ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ); + KMagSelWin ( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 ); virtual ~KMagSelWin(); @@ -95,16 +97,17 @@ protected: * @author Original : Michael Forster * @author Current : Sarang Lakare */ -class KMagSelRect : public TQObject, public QRect +class KMagSelRect : public TQObject, public TQRect { Q_OBJECT + TQ_OBJECT public: - KMagSelRect(TQWidget *parent=0); + KMagSelRect(TQWidget *tqparent=0); KMagSelRect(const TQPoint &topLeft, const TQPoint &bottomRight, - TQWidget *parent=0); + TQWidget *tqparent=0); KMagSelRect(const TQPoint &topLeft, const TQSize &size, - TQWidget *parent=0); + TQWidget *tqparent=0); KMagSelRect(int left, int top, int width, int height, TQWidget *selWindowParent=0); -- cgit v1.2.3