summaryrefslogtreecommitdiffstats
path: root/systemsettings/modulesview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:43 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:43 -0600
commite3656c08ed309001cb7275441296682cadbeb160 (patch)
treeebf3829f6531564528c3be5d411b7d8e7443b634 /systemsettings/modulesview.cpp
parentb5b62ae9b3c8396bb74d76a125f1a9349e8b1233 (diff)
downloadtde-systemsettings-e3656c08ed309001cb7275441296682cadbeb160.tar.gz
tde-systemsettings-e3656c08ed309001cb7275441296682cadbeb160.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b5b62ae9b3c8396bb74d76a125f1a9349e8b1233.
Diffstat (limited to 'systemsettings/modulesview.cpp')
-rw-r--r--systemsettings/modulesview.cpp16
1 files changed, 8 insertions, 8 deletions
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 <tqlabel.h>
#include <klocale.h>
#include <kservicegroup.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kiconloader.h>
#include <kcmultidialog.h>
#include <kdialogbase.h>
@@ -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() {