summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools/kptoolresizescale.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/tools/kptoolresizescale.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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/kptoolresizescale.h')
-rw-r--r--kolourpaint/tools/kptoolresizescale.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kolourpaint/tools/kptoolresizescale.h b/kolourpaint/tools/kptoolresizescale.h
index e23b040e..1dd95aa0 100644
--- a/kolourpaint/tools/kptoolresizescale.h
+++ b/kolourpaint/tools/kptoolresizescale.h
@@ -29,7 +29,7 @@
#ifndef __kptoolresizescale_h__
#define __kptoolresizescale_h__
-#include <qpixmap.h>
+#include <tqpixmap.h>
#include <kpcommandhistory.h>
#include <kdialogbase.h>
@@ -37,13 +37,13 @@
#include <kpcolor.h>
#include <kpselection.h>
-class QCheckBox;
-class QGroupBox;
-class QHBox;
-class QRadioButton;
-class QSize;
-class QString;
-class QToolButton;
+class TQCheckBox;
+class TQGroupBox;
+class TQHBox;
+class TQRadioButton;
+class TQSize;
+class TQString;
+class TQToolButton;
class KComboBox;
class KDoubleNumInput;
@@ -67,7 +67,7 @@ public:
kpMainWindow *mainWindow);
virtual ~kpToolResizeScaleCommand ();
- virtual QString name () const;
+ virtual TQString name () const;
virtual int size () const;
public:
@@ -77,7 +77,7 @@ public:
int newHeight () const;
void setNewHeight (int height);
- QSize newSize () const;
+ TQSize newSize () const;
virtual void resize (int width, int height);
public:
@@ -100,7 +100,7 @@ protected:
int m_oldWidth, m_oldHeight;
bool m_actOnTextSelection;
- QPixmap m_oldPixmap, m_oldRightPixmap, m_oldBottomPixmap;
+ TQPixmap m_oldPixmap, m_oldRightPixmap, m_oldBottomPixmap;
kpSelection *m_oldSelection;
};
@@ -125,9 +125,9 @@ private:
kpDocument *document () const;
kpSelection *selection () const;
- void createActOnBox (QWidget *baseWidget);
- void createOperationGroupBox (QWidget *baseWidget);
- void createDimensionsGroupBox (QWidget *baseWidget);
+ void createActOnBox (TQWidget *baseWidget);
+ void createOperationGroupBox (TQWidget *baseWidget);
+ void createDimensionsGroupBox (TQWidget *baseWidget);
void widthFitHeightToAspectRatio ();
void heightFitWidthToAspectRatio ();
@@ -172,23 +172,23 @@ private slots:
private:
kpMainWindow *m_mainWindow;
- QHBox *m_actOnBox;
- QLabel *m_actOnLabel;
+ TQHBox *m_actOnBox;
+ TQLabel *m_actOnLabel;
KComboBox *m_actOnCombo;
- QGroupBox *m_operationGroupBox;
- QToolButton *m_resizeButton,
+ TQGroupBox *m_operationGroupBox;
+ TQToolButton *m_resizeButton,
*m_scaleButton,
*m_smoothScaleButton;
- QLabel *m_resizeLabel,
+ TQLabel *m_resizeLabel,
*m_scaleLabel,
*m_smoothScaleLabel;
- QGroupBox *m_dimensionsGroupBox;
+ TQGroupBox *m_dimensionsGroupBox;
KIntNumInput *m_originalWidthInput, *m_originalHeightInput,
*m_newWidthInput, *m_newHeightInput;
KDoubleNumInput *m_percentWidthInput, *m_percentHeightInput;
- QCheckBox *m_keepAspectRatioCheckBox;
+ TQCheckBox *m_keepAspectRatioCheckBox;
int m_ignoreKeepAspectRatio;
};