summaryrefslogtreecommitdiffstats
path: root/krita/plugins/viewplugins/shearimage/dlg_shearimage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/viewplugins/shearimage/dlg_shearimage.cc')
-rw-r--r--krita/plugins/viewplugins/shearimage/dlg_shearimage.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/krita/plugins/viewplugins/shearimage/dlg_shearimage.cc b/krita/plugins/viewplugins/shearimage/dlg_shearimage.cc
index 9a6a2f66..896a947a 100644
--- a/krita/plugins/viewplugins/shearimage/dlg_shearimage.cc
+++ b/krita/plugins/viewplugins/shearimage/dlg_shearimage.cc
@@ -26,10 +26,10 @@
using namespace std;
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <knuminput.h>
@@ -39,21 +39,21 @@ using namespace std;
#include "wdg_shearimage.h"
-DlgShearImage::DlgShearImage( QWidget * parent,
+DlgShearImage::DlgShearImage( TQWidget * tqparent,
const char * name)
- : super (parent, name, true, i18n("Shear Image"), Ok | Cancel, Ok)
+ : super (tqparent, name, true, i18n("Shear Image"), Ok | Cancel, Ok)
{
m_lock = false;
m_page = new WdgShearImage(this, "shear_image");
- m_page->layout()->setMargin(0);
+ m_page->tqlayout()->setMargin(0);
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
- resize(m_page->sizeHint());
+ resize(m_page->tqsizeHint());
- connect(this, SIGNAL(okClicked()),
- this, SLOT(okClicked()));
+ connect(this, TQT_SIGNAL(okClicked()),
+ this, TQT_SLOT(okClicked()));
}
@@ -62,28 +62,28 @@ DlgShearImage::~DlgShearImage()
delete m_page;
}
-void DlgShearImage::setAngleX(Q_UINT32 angle)
+void DlgShearImage::setAngleX(TQ_UINT32 angle)
{
m_page->shearAngleX->setValue(angle);
m_oldAngle = angle;
}
-void DlgShearImage::setAngleY(Q_UINT32 angle)
+void DlgShearImage::setAngleY(TQ_UINT32 angle)
{
m_page->shearAngleY->setValue(angle);
m_oldAngle = angle;
}
-Q_INT32 DlgShearImage::angleX()
+TQ_INT32 DlgShearImage::angleX()
{
- return (Q_INT32)qRound(m_page->shearAngleX->value());
+ return (TQ_INT32)tqRound(m_page->shearAngleX->value());
}
-Q_INT32 DlgShearImage::angleY()
+TQ_INT32 DlgShearImage::angleY()
{
- return (Q_INT32)qRound(m_page->shearAngleY->value());
+ return (TQ_INT32)tqRound(m_page->shearAngleY->value());
}
// SLOTS