summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc')
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_rectangular.cc
index f4e4743d..54bfbdd6 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 <layout.h>
+#include <tqlayout.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->layout());
+ TQVBoxLayout * l = dynamic_cast<TQVBoxLayout*>(m_optWidget->tqlayout());
l->addItem(new TQSpacerItem(1, 1, TQSizePolicy::Fixed, TQSizePolicy::Expanding));
return m_optWidget;