summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/perspective
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/perspective')
-rw-r--r--digikam/imageplugins/perspective/imageeffect_perspective.cpp20
-rw-r--r--digikam/imageplugins/perspective/imageeffect_perspective.h2
-rw-r--r--digikam/imageplugins/perspective/imageplugin_perspective.cpp2
-rw-r--r--digikam/imageplugins/perspective/imageplugin_perspective.h2
-rw-r--r--digikam/imageplugins/perspective/perspectivetool.cpp20
-rw-r--r--digikam/imageplugins/perspective/perspectivetool.h2
-rw-r--r--digikam/imageplugins/perspective/perspectivewidget.cpp4
-rw-r--r--digikam/imageplugins/perspective/perspectivewidget.h2
8 files changed, 27 insertions, 27 deletions
diff --git a/digikam/imageplugins/perspective/imageeffect_perspective.cpp b/digikam/imageplugins/perspective/imageeffect_perspective.cpp
index cf03ebc..15bef87 100644
--- a/digikam/imageplugins/perspective/imageeffect_perspective.cpp
+++ b/digikam/imageplugins/perspective/imageeffect_perspective.cpp
@@ -176,20 +176,20 @@ ImageEffect_Perspective::ImageEffect_Perspective(TQWidget* parent)
// -------------------------------------------------------------
- connect(m_previewWidget, TQT_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)),
- this, TQT_SLOT(slotUpdateInfo(TQRect, float, float, float, float)));
+ connect(m_previewWidget, TQ_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)),
+ this, TQ_SLOT(slotUpdateInfo(TQRect, float, float, float, float)));
- connect(m_drawWhileMovingCheckBox, TQT_SIGNAL(toggled(bool)),
- m_previewWidget, TQT_SLOT(slotToggleDrawWhileMoving(bool)));
+ connect(m_drawWhileMovingCheckBox, TQ_SIGNAL(toggled(bool)),
+ m_previewWidget, TQ_SLOT(slotToggleDrawWhileMoving(bool)));
- connect(m_drawGridCheckBox, TQT_SIGNAL(toggled(bool)),
- m_previewWidget, TQT_SLOT(slotToggleDrawGrid(bool)));
+ connect(m_drawGridCheckBox, TQ_SIGNAL(toggled(bool)),
+ m_previewWidget, TQ_SLOT(slotToggleDrawGrid(bool)));
- connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor &)),
- m_previewWidget, TQT_SLOT(slotChangeGuideColor(const TQColor &)));
+ connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor &)),
+ m_previewWidget, TQ_SLOT(slotChangeGuideColor(const TQColor &)));
- connect(m_guideSize, TQT_SIGNAL(valueChanged(int)),
- m_previewWidget, TQT_SLOT(slotChangeGuideSize(int)));
+ connect(m_guideSize, TQ_SIGNAL(valueChanged(int)),
+ m_previewWidget, TQ_SLOT(slotChangeGuideSize(int)));
}
ImageEffect_Perspective::~ImageEffect_Perspective()
diff --git a/digikam/imageplugins/perspective/imageeffect_perspective.h b/digikam/imageplugins/perspective/imageeffect_perspective.h
index 4437184..41388aa 100644
--- a/digikam/imageplugins/perspective/imageeffect_perspective.h
+++ b/digikam/imageplugins/perspective/imageeffect_perspective.h
@@ -45,7 +45,7 @@ class PerspectiveWidget;
class ImageEffect_Perspective : public Digikam::ImageDlgBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/digikam/imageplugins/perspective/imageplugin_perspective.cpp b/digikam/imageplugins/perspective/imageplugin_perspective.cpp
index f99fd37..bb5d044 100644
--- a/digikam/imageplugins/perspective/imageplugin_perspective.cpp
+++ b/digikam/imageplugins/perspective/imageplugin_perspective.cpp
@@ -45,7 +45,7 @@ ImagePlugin_Perspective::ImagePlugin_Perspective(TQObject *parent, const char*,
: Digikam::ImagePlugin(parent, "ImagePlugin_Perspective")
{
m_perspectiveAction = new TDEAction(i18n("Perspective Adjustment..."), "perspective", 0,
- this, TQT_SLOT(slotPerspective()),
+ this, TQ_SLOT(slotPerspective()),
actionCollection(), "imageplugin_perspective");
setXMLFile("digikamimageplugin_perspective_ui.rc");
diff --git a/digikam/imageplugins/perspective/imageplugin_perspective.h b/digikam/imageplugins/perspective/imageplugin_perspective.h
index 44d9a3a..5dee7b1 100644
--- a/digikam/imageplugins/perspective/imageplugin_perspective.h
+++ b/digikam/imageplugins/perspective/imageplugin_perspective.h
@@ -33,7 +33,7 @@ class TDEAction;
class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Perspective : public Digikam::ImagePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/digikam/imageplugins/perspective/perspectivetool.cpp b/digikam/imageplugins/perspective/perspectivetool.cpp
index eadf9a7..30d0a2c 100644
--- a/digikam/imageplugins/perspective/perspectivetool.cpp
+++ b/digikam/imageplugins/perspective/perspectivetool.cpp
@@ -170,20 +170,20 @@ PerspectiveTool::PerspectiveTool(TQObject* parent)
// -------------------------------------------------------------
- connect(m_previewWidget, TQT_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)),
- this, TQT_SLOT(slotUpdateInfo(TQRect, float, float, float, float)));
+ connect(m_previewWidget, TQ_SIGNAL(signalPerspectiveChanged(TQRect, float, float, float, float)),
+ this, TQ_SLOT(slotUpdateInfo(TQRect, float, float, float, float)));
- connect(m_drawWhileMovingCheckBox, TQT_SIGNAL(toggled(bool)),
- m_previewWidget, TQT_SLOT(slotToggleDrawWhileMoving(bool)));
+ connect(m_drawWhileMovingCheckBox, TQ_SIGNAL(toggled(bool)),
+ m_previewWidget, TQ_SLOT(slotToggleDrawWhileMoving(bool)));
- connect(m_drawGridCheckBox, TQT_SIGNAL(toggled(bool)),
- m_previewWidget, TQT_SLOT(slotToggleDrawGrid(bool)));
+ connect(m_drawGridCheckBox, TQ_SIGNAL(toggled(bool)),
+ m_previewWidget, TQ_SLOT(slotToggleDrawGrid(bool)));
- connect(m_guideColorBt, TQT_SIGNAL(changed(const TQColor&)),
- m_previewWidget, TQT_SLOT(slotChangeGuideColor(const TQColor&)));
+ connect(m_guideColorBt, TQ_SIGNAL(changed(const TQColor&)),
+ m_previewWidget, TQ_SLOT(slotChangeGuideColor(const TQColor&)));
- connect(m_guideSize, TQT_SIGNAL(valueChanged(int)),
- m_previewWidget, TQT_SLOT(slotChangeGuideSize(int)));
+ connect(m_guideSize, TQ_SIGNAL(valueChanged(int)),
+ m_previewWidget, TQ_SLOT(slotChangeGuideSize(int)));
}
PerspectiveTool::~PerspectiveTool()
diff --git a/digikam/imageplugins/perspective/perspectivetool.h b/digikam/imageplugins/perspective/perspectivetool.h
index 1818176..6186712 100644
--- a/digikam/imageplugins/perspective/perspectivetool.h
+++ b/digikam/imageplugins/perspective/perspectivetool.h
@@ -54,7 +54,7 @@ class PerspectiveWidget;
class PerspectiveTool : public Digikam::EditorTool
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/digikam/imageplugins/perspective/perspectivewidget.cpp b/digikam/imageplugins/perspective/perspectivewidget.cpp
index a43aacf..ae2c5c0 100644
--- a/digikam/imageplugins/perspective/perspectivewidget.cpp
+++ b/digikam/imageplugins/perspective/perspectivewidget.cpp
@@ -675,7 +675,7 @@ void PerspectiveWidget::resizeEvent(TQResizeEvent * e)
void PerspectiveWidget::mousePressEvent ( TQMouseEvent * e )
{
- if ( e->button() == Qt::LeftButton &&
+ if ( e->button() == TQt::LeftButton &&
m_rect.contains( e->x(), e->y() ))
{
if ( m_topLeftCorner.contains( e->x(), e->y() ) )
@@ -719,7 +719,7 @@ void PerspectiveWidget::mouseReleaseEvent ( TQMouseEvent * e )
void PerspectiveWidget::mouseMoveEvent ( TQMouseEvent * e )
{
- if ( e->state() == Qt::LeftButton )
+ if ( e->state() == TQt::LeftButton )
{
if ( m_currentResizing != ResizingNone )
{
diff --git a/digikam/imageplugins/perspective/perspectivewidget.h b/digikam/imageplugins/perspective/perspectivewidget.h
index 48abaa7..0047c3e 100644
--- a/digikam/imageplugins/perspective/perspectivewidget.h
+++ b/digikam/imageplugins/perspective/perspectivewidget.h
@@ -53,7 +53,7 @@ namespace DigikamPerspectiveImagesPlugin
class PerspectiveWidget : public TQWidget
{
-Q_OBJECT
+TQ_OBJECT
public: