summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/selectiontools
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/selectiontools')
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_brush.h2
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc8
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h2
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc4
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc4
9 files changed, 18 insertions, 18 deletions
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc
index 4a59c384..8f9eb202 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.cc
@@ -20,7 +20,7 @@
#include <tqevent.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidget.h>
#include <tqrect.h>
@@ -152,7 +152,7 @@ TQWidget* KisToolSelectBrush::createOptionWidget(TQWidget* parent)
Q_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Selection Brush"));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h
index faeb32d8..9fd07e6d 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_brush.h
@@ -32,7 +32,7 @@ class KisSelectionOptions;
/**
* The selection brush creates a selection by painting with the current
- * brush tqshape. Not sure what kind of an icon could represent this...
+ * brush shape. Not sure what kind of an icon could represent this...
* Depends a bit on how we're going to visualize selections.
*/
class KisToolSelectBrush : public KisToolFreehand {
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc
index cc164680..0dfe1e1c 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_contiguous.cc
@@ -21,7 +21,7 @@
*/
#include <tqpainter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqapplication.h>
#include <tqcheckbox.h>
@@ -189,7 +189,7 @@ TQWidget* KisToolSelectContiguous::createOptionWidget(TQWidget* parent)
Q_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Contiguous Area Selection"));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->setSpacing( 6 );
connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc
index d16ab740..cfce3704 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_elliptical.cc
@@ -21,7 +21,7 @@
#include <tqapplication.h>
#include <tqpainter.h>
#include <tqpen.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kdebug.h>
#include <kaction.h>
@@ -203,12 +203,12 @@ void KisToolSelectElliptical::buttonRelease(KisButtonReleaseEvent *e)
rc = rc.normalize();
KisSelectionSP tmpSel = new KisSelection(dev);
- KisAutobrushCircleShape tqshape(rc.width(),rc.height(), 1, 1);
+ KisAutobrushCircleShape shape(rc.width(),rc.height(), 1, 1);
TQ_UINT8 value;
for (int y = 0; y <= rc.height(); y++)
for (int x = 0; x <= rc.width(); x++)
{
- value = MAX_SELECTED - tqshape.valueAt(x,y);
+ value = MAX_SELECTED - shape.valueAt(x,y);
tmpSel->setSelected( x+rc.x(), y+rc.y(), value);
}
switch(m_selectAction)
@@ -305,7 +305,7 @@ TQWidget* KisToolSelectElliptical::createOptionWidget(TQWidget* parent)
connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
index 118281e1..a6f52abc 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
@@ -20,7 +20,7 @@
#include <tqevent.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidget.h>
#include <kdebug.h>
@@ -139,7 +139,7 @@ TQWidget* KisToolSelectEraser::createOptionWidget(TQWidget* parent)
Q_CHECK_PTR(m_optWidget);
m_optWidget->setCaption(i18n("Selection Eraser"));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h
index c796ec3c..cb8b82ed 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.h
@@ -30,7 +30,7 @@ class KisSelectionOptions;
/**
* The selection eraser makes a selection smaller by painting with the
- * current eraser tqshape. Not sure what kind of an icon could represent
+ * current eraser shape. Not sure what kind of an icon could represent
* this... Depends a bit on how we're going to visualize selections.
*/
class KisToolSelectEraser : public KisToolFreehand {
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc
index 8bac379c..cf8bb81e 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_outline.cc
@@ -23,7 +23,7 @@
#include <tqpainter.h>
#include <tqregion.h>
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kaction.h>
#include <kdebug.h>
@@ -275,7 +275,7 @@ TQWidget* KisToolSelectOutline::createOptionWidget(TQWidget* parent)
connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc
index 85a53c94..f1a6436d 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_polygonal.cc
@@ -23,7 +23,7 @@
#include <tqpainter.h>
#include <tqregion.h>
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kaction.h>
#include <kdebug.h>
@@ -294,7 +294,7 @@ TQWidget* KisToolSelectPolygonal::createOptionWidget(TQWidget* parent)
connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
index 54bfbdd6..f4e4743d 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
@@ -24,7 +24,7 @@
#include <tqapplication.h>
#include <tqpainter.h>
#include <tqpen.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kdebug.h>
#include <kaction.h>
@@ -306,7 +306,7 @@ TQWidget* KisToolSelectRectangular::createOptionWidget(TQWidget* parent)
connect (m_optWidget, TQT_SIGNAL(actionChanged(int)), this, TQT_SLOT(slotSetAction(int)));
- TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->layout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;