summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_tool_shape.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /chalk/ui/kis_tool_shape.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'chalk/ui/kis_tool_shape.cc')
-rw-r--r--chalk/ui/kis_tool_shape.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/chalk/ui/kis_tool_shape.cc b/chalk/ui/kis_tool_shape.cc
index 9e76f159..0c9ddc4a 100644
--- a/chalk/ui/kis_tool_shape.cc
+++ b/chalk/ui/kis_tool_shape.cc
@@ -17,7 +17,7 @@
*/
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcombobox.h>
#include <tqlabel.h>
@@ -29,7 +29,7 @@
KisToolShape::KisToolShape(const TQString& UIName) : super(UIName)
{
- m_tqshapeOptionsWidget = 0;
+ m_shapeOptionsWidget = 0;
m_optionLayout = 0;
}
@@ -41,23 +41,23 @@ TQWidget* KisToolShape::createOptionWidget(TQWidget* parent)
{
TQWidget *widget = super::createOptionWidget(parent);
- m_tqshapeOptionsWidget = new WdgGeometryOptions(0);
- Q_CHECK_PTR(m_tqshapeOptionsWidget);
+ m_shapeOptionsWidget = new WdgGeometryOptions(0);
+ Q_CHECK_PTR(m_shapeOptionsWidget);
m_optionLayout = new TQGridLayout(widget, 2, 1);
// super::addOptionWidgetLayout(m_optionLayout);
- m_tqshapeOptionsWidget->cmbFill->reparent(widget, TQPoint(0,0), true);
- m_tqshapeOptionsWidget->textLabel3->reparent(widget, TQPoint(0,0), true);
- addOptionWidgetOption(m_tqshapeOptionsWidget->cmbFill, m_tqshapeOptionsWidget->textLabel3);
+ m_shapeOptionsWidget->cmbFill->reparent(widget, TQPoint(0,0), true);
+ m_shapeOptionsWidget->textLabel3->reparent(widget, TQPoint(0,0), true);
+ addOptionWidgetOption(m_shapeOptionsWidget->cmbFill, m_shapeOptionsWidget->textLabel3);
return widget;
}
KisPainter::FillStyle KisToolShape::fillStyle(void)
{
- if (m_tqshapeOptionsWidget) {
- return static_cast<KisPainter::FillStyle>(m_tqshapeOptionsWidget->cmbFill->currentItem());
+ if (m_shapeOptionsWidget) {
+ return static_cast<KisPainter::FillStyle>(m_shapeOptionsWidget->cmbFill->currentItem());
} else {
return KisPainter::FillStyleNone;
}