summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/objectlistpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/objectlistpalette.cpp')
-rw-r--r--kivio/kiviopart/ui/objectlistpalette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/ui/objectlistpalette.cpp b/kivio/kiviopart/ui/objectlistpalette.cpp
index bd2d4392..7483e98d 100644
--- a/kivio/kiviopart/ui/objectlistpalette.cpp
+++ b/kivio/kiviopart/ui/objectlistpalette.cpp
@@ -18,7 +18,7 @@
*/
#include "objectlistpalette.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqheader.h>
#include <tqptrlist.h>
@@ -85,7 +85,7 @@ ObjectListPalette::ObjectListPalette(KivioView* parent, const char* name)
{
m_blockUpdate = false;
- TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 2);
+ TQVBoxLayout* tqlayout = new TQVBoxLayout(this, 0, 2);
m_objectList = new KListView(this);
m_objectList->setFullWidth(true);
@@ -95,7 +95,7 @@ ObjectListPalette::ObjectListPalette(KivioView* parent, const char* name)
m_objectList->addColumn(i18n("Name"));
m_objectList->addColumn(i18n("Type"));
- layout->addWidget(m_objectList);
+ tqlayout->addWidget(m_objectList);
connect(m_objectList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(updateSelection()));
}