diff options
Diffstat (limited to 'src/kile/configstructure.cpp')
-rw-r--r-- | src/kile/configstructure.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kile/configstructure.cpp b/src/kile/configstructure.cpp index 39376e0..a1e34f6 100644 --- a/src/kile/configstructure.cpp +++ b/src/kile/configstructure.cpp @@ -22,7 +22,7 @@ #include <klocale.h> #include <kiconloader.h> -#include <tqlayout.h> +#include <layout.h> #include <tqtabwidget.h> #include <tqgroupbox.h> #include <tqvgroupbox.h> @@ -167,11 +167,11 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name ) hbox4->addWidget(add); hbox4->addWidget(remove); - // add widgets to the left vertical tqlayout + // add widgets to the left vertical layout vbox1->addWidget(m_entriestable); vbox1->addStretch(); - // add widgets to the right vertical tqlayout + // add widgets to the right vertical layout vbox2->addWidget(widget3); vbox2->addSpacing(10); vbox2->addWidget(m_sectioningtable); @@ -180,7 +180,7 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name ) vbox2->addWidget(classGroup); vbox2->addStretch(); - // add both groupboxes to horizontal tqlayout + // add both groupboxes to horizontal layout hbox->addWidget(gb_entries); hbox->addWidget(gb_sectioning); hbox->setStretchFactor(gb_entries,3); @@ -212,13 +212,13 @@ void ConfigStructure::polish() { // TQWidget::polish(); - uint w = m_entriestable->tqsizeHint().width(); + uint w = m_entriestable->sizeHint().width(); m_entriestable->setColumnWidth(0,3*w/7); m_entriestable->setColumnWidth(1,2*w/7); m_entriestable->setColumnWidth(2,2*w/7+1); m_entriestable->setColumnStretchable(2,true); - w = m_sectioningtable->tqsizeHint().width(); + w = m_sectioningtable->sizeHint().width(); m_sectioningtable->setColumnWidth(0,w/6); m_sectioningtable->setColumnWidth(1,3*w/6); m_sectioningtable->setColumnWidth(2,2*w/6+1); @@ -271,7 +271,7 @@ void ConfigStructure::showSectioning(const TQStringList *list) TQString label1,label2,label3; for (uint i=0; i<5; ++i) { if ( i < list->count() ) { - label1 = TQString("%1").tqarg(i+1); + label1 = TQString("%1").arg(i+1); label2 = (*list)[i]; label3 = ( i < (uint)m_structurelevel->value() ) ? "open" : "close"; } else { |