diff options
Diffstat (limited to 'kplato/kptview.cc')
-rw-r--r-- | kplato/kptview.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kplato/kptview.cc b/kplato/kptview.cc index 5e99a9da..e986ea99 100644 --- a/kplato/kptview.cc +++ b/kplato/kptview.cc @@ -26,7 +26,7 @@ #include <tqapplication.h> #include <tqpainter.h> #include <tqiconset.h> -#include <layout.h> +#include <tqlayout.h> #include <tqsplitter.h> #include <tqcanvas.h> #include <tqscrollview.h> @@ -102,9 +102,9 @@ namespace KPlato View::View(Part* part, TQWidget* parent, const char* /*name*/) : KoView(part, parent, "Main View"), m_ganttview(0), - m_ganttlayout(0), + m_gantttqlayout(0), m_pertview(0), - m_pertlayout(0), + m_perttqlayout(0), // m_reportview(0), m_baselineMode(false), m_currentEstimateType(Effort::Use_Expected) @@ -122,15 +122,15 @@ View::View(Part* part, TQWidget* parent, const char* /*name*/) dcopObject(); m_tab = new TQWidgetStack(this); - TQVBoxLayout *layout = new TQVBoxLayout(this); - layout->add(m_tab); + TQVBoxLayout *tqlayout = new TQVBoxLayout(this); + tqlayout->add(m_tab); m_ganttview = new GanttView(m_tab, part->isReadWrite()); m_tab->addWidget(m_ganttview); m_updateGanttview = false; m_ganttview->draw(getPart()->getProject()); - m_pertview = new PertView( this, m_tab, layout ); + m_pertview = new PertView( this, m_tab, tqlayout ); m_tab->addWidget(m_pertview); m_resourceview = new ResourceView( this, m_tab ); |