From e3656c08ed309001cb7275441296682cadbeb160 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:43 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b5b62ae9b3c8396bb74d76a125f1a9349e8b1233. --- systemsettings/modulesview.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'systemsettings/modulesview.cpp') diff --git a/systemsettings/modulesview.cpp b/systemsettings/modulesview.cpp index a963058..ef920f1 100644 --- a/systemsettings/modulesview.cpp +++ b/systemsettings/modulesview.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include @@ -43,7 +43,7 @@ ModulesView::ModulesView( KCModuleMenu *rootMenu, const TQString &menuPath, TQWi this->rootMenu = rootMenu; this->menuPath = menuPath; - TQVBoxLayout *layout = new TQVBoxLayout( this, 11, 6, "layout" ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout" ); displayName = this->rootMenu->caption; @@ -58,13 +58,13 @@ ModulesView::ModulesView( KCModuleMenu *rootMenu, const TQString &menuPath, TQWi TQFrame *line = new TQFrame( this, "line"); line->setFrameShadow( TQFrame::Sunken ); line->setFrameShape( TQFrame::HLine ); - layout->addWidget( line ); + tqlayout->addWidget( line ); } // Build the row of modules/icons - createRow( (*it).subMenu, layout ); + createRow( (*it).subMenu, tqlayout ); } - layout->addStretch(1); + tqlayout->addStretch(1); // Make empty iconView for the search widget if( groups.count()==0 ) { @@ -112,14 +112,14 @@ void ModulesView::createRow( const TQString &parentPath, TQBoxLayout *boxLayout // Heaer Icon TQLabel *icon = new TQLabel( this, "groupicon" ); icon->setPixmap( SmallIcon( group->icon() ) ); - icon->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, + icon->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, icon->sizePolicy().hasHeightForWidth() ) ); rowLayout->addWidget( icon ); // Header Name TQLabel *textLabel = new TQLabel( this, "groupcaption" ); textLabel->setText( group->caption() ); - textLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, + textLabel->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel->sizePolicy().hasHeightForWidth())); TQFont textLabel_font( textLabel->font() ); textLabel_font.setBold( true ); @@ -160,7 +160,7 @@ void ModulesView::createRow( const TQString &parentPath, TQBoxLayout *boxLayout } // Force the height for those items that have two words. - iconView->setMinimumHeight( iconView->minimumSizeHint().height() ); + iconView->setMinimumHeight( iconView->tqminimumSizeHint().height() ); } void ModulesView::clearSelection() { -- cgit v1.2.1