summaryrefslogtreecommitdiffstats
path: root/src/gui/orientationwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/orientationwidget.cpp')
-rw-r--r--src/gui/orientationwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/orientationwidget.cpp b/src/gui/orientationwidget.cpp
index e46e191..19f88c3 100644
--- a/src/gui/orientationwidget.cpp
+++ b/src/gui/orientationwidget.cpp
@@ -19,7 +19,7 @@
#include <kstandarddirs.h>
#include <tqbitmap.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqimage.h>
#include <tqpixmap.h>
#include <tqpainter.h>
@@ -30,7 +30,7 @@ const int _size = 44;
OrientationWidget::OrientationWidget(TQWidget *parent, const char *name)
: TQWidget(parent, name)
{
- TQGridLayout *layout = new TQGridLayout( this, 2, 4, 0, 4 );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 2, 4, 0, 4 );
p_activeFlowPart = 0l;
for ( int row=0; row<2; ++row )
@@ -39,7 +39,7 @@ OrientationWidget::OrientationWidget(TQWidget *parent, const char *name)
{
TQPushButton *btn = new TQPushButton(this);
m_toolBtn[row][col] = btn;
- layout->addWidget( btn, row, col );
+ tqlayout->addWidget( btn, row, col );
btn->setFixedSize( _size+6, _size+6 );
// btn->setFlat(true);
btn->setEnabled(false);