diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/tools/kptoolrotate.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/tools/kptoolrotate.h')
-rw-r--r-- | kolourpaint/tools/kptoolrotate.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kolourpaint/tools/kptoolrotate.h b/kolourpaint/tools/kptoolrotate.h index 887473dc..1cff0884 100644 --- a/kolourpaint/tools/kptoolrotate.h +++ b/kolourpaint/tools/kptoolrotate.h @@ -29,8 +29,8 @@ #ifndef __kptoolrotate_h__ #define __kptoolrotate_h__ -#include <qpixmap.h> -#include <qpoint.h> +#include <tqpixmap.h> +#include <tqpoint.h> #include <kdialogbase.h> @@ -40,9 +40,9 @@ #include <kptoolpreviewdialog.h> -class QButtonGroup; -class QRadioButton; -class QString; +class TQButtonGroup; +class TQRadioButton; +class TQString; class KIntNumInput; @@ -59,7 +59,7 @@ public: kpMainWindow *mainWindow); virtual ~kpToolRotateCommand (); - virtual QString name () const; + virtual TQString name () const; virtual int size () const; @@ -73,7 +73,7 @@ private: kpColor m_backgroundColor; bool m_losslessRotation; - QPixmap m_oldPixmap; + TQPixmap m_oldPixmap; kpSelection m_oldSelection; }; @@ -102,8 +102,8 @@ public: int angle () const; // 0 <= angle < 360 (clockwise); private: - virtual QSize newDimensions () const; - virtual QPixmap transformPixmap (const QPixmap &pixmap, + virtual TQSize newDimensions () const; + virtual TQPixmap transformPixmap (const TQPixmap &pixmap, int targetWidth, int targetHeight) const; private slots: @@ -114,11 +114,11 @@ private slots: virtual void slotOk (); private: - QRadioButton *m_antiClockwiseRadioButton, + TQRadioButton *m_antiClockwiseRadioButton, *m_clockwiseRadioButton; - QButtonGroup *m_angleButtonGroup; - QRadioButton *m_angle90RadioButton, + TQButtonGroup *m_angleButtonGroup; + TQRadioButton *m_angle90RadioButton, *m_angle180RadioButton, *m_angle270RadioButton, *m_angleCustomRadioButton; |