diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 01:36:58 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 01:36:58 +0000 |
commit | d9d0ac84a2b1609ff81b399b81842a15704cbefd (patch) | |
tree | 58c783db373c4633201e5a9716901599c1afad92 /ksquirrel/ksquirrelpart/sq_glwidget_helpers.h | |
parent | 63f270d62c4541f1379f0f82f5255a34e5037e00 (diff) | |
download | ksquirrel-d9d0ac84a2b1609ff81b399b81842a15704cbefd.tar.gz ksquirrel-d9d0ac84a2b1609ff81b399b81842a15704cbefd.zip |
TQt4 port ksquirrel
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksquirrel@1239132 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksquirrel/ksquirrelpart/sq_glwidget_helpers.h')
-rw-r--r-- | ksquirrel/ksquirrelpart/sq_glwidget_helpers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h index a9a224a..12dacfa 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h +++ b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h @@ -20,7 +20,7 @@ #include <ktoolbarbutton.h> -class QWMatrix; +class TQWMatrix; class KToolBar; @@ -29,15 +29,15 @@ struct RGBA; class SQ_ToolButtonPopup : public KToolBarButton { public: - SQ_ToolButtonPopup(const QPixmap &pix, const QString &textLabel, KToolBar *parent); + SQ_ToolButtonPopup(const TQPixmap &pix, const TQString &textLabel, KToolBar *tqparent); ~SQ_ToolButtonPopup(); }; -class SQ_ToolButton : public QToolButton +class SQ_ToolButton : public TQToolButton { public: - SQ_ToolButton(const QIconSet &iconSet, const QString &textLabel, QObject *receiver, - const char *slot, KToolBar *parent, const char *name = 0); + SQ_ToolButton(const TQIconSet &iconSet, const TQString &textLabel, TQObject *receiver, + const char *slot, KToolBar *tqparent, const char *name = 0); ~SQ_ToolButton(); static int fixedWidth(); @@ -61,14 +61,14 @@ namespace SQ_GLHelpers int roundAngle(int ang); - void subRotation(QWMatrix &wm, int curangle, int orient); + void subRotation(TQWMatrix &wm, int curangle, int orient); /* * normalize selection rectangle * sx,sy are X and Y coordinates - * sw x sh is a selection geometry + * sw x sh is a selection tqgeometry */ - bool normalizeSelection(int &sx, int &sy, int &sw, int &sh, int w, int h, const QWMatrix&, int curangle, int orient); + bool normalizeSelection(int &sx, int &sy, int &sw, int &sh, int w, int h, const TQWMatrix&, int curangle, int orient); } #endif |