summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:17 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-08-02 00:18:38 +0200
commitbd140e2d7e4c2db192f4285fb56a1122db5fc0c9 (patch)
tree7d642271b7be3aee02483f5e3e2aaad0dedc0961
parent5a057fe5d951f49d27c46719debb3396cf3db75e (diff)
downloadtde-systemsettings-bd140e2d7e4c2db192f4285fb56a1122db5fc0c9.tar.gz
tde-systemsettings-bd140e2d7e4c2db192f4285fb56a1122db5fc0c9.zip
Rename obsolete tq methods to standard names
(cherry picked from commit a171879c8320752c0bc5c0dad5f2191a3555ca7c)
-rw-r--r--systemsettings/modulesview.cpp8
-rw-r--r--systemsettings/modulesview.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/systemsettings/modulesview.cpp b/systemsettings/modulesview.cpp
index ff0e0da..83581da 100644
--- a/systemsettings/modulesview.cpp
+++ b/systemsettings/modulesview.cpp
@@ -43,7 +43,7 @@ ModulesView::ModulesView( KCModuleMenu *rootMenu, const TQString &menuPath, TQWi
this->rootMenu = rootMenu;
this->menuPath = menuPath;
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout" );
+ TQVBoxLayout *layout = new TQVBoxLayout( this, 11, 6, "layout" );
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 );
- tqlayout->addWidget( line );
+ layout->addWidget( line );
}
// Build the row of modules/icons
- createRow( (*it).subMenu, tqlayout );
+ createRow( (*it).subMenu, layout );
}
- tqlayout->addStretch(1);
+ layout->addStretch(1);
// Make empty iconView for the search widget
if( groups.count()==0 ) {
diff --git a/systemsettings/modulesview.h b/systemsettings/modulesview.h
index 9eeb72a..49a9d07 100644
--- a/systemsettings/modulesview.h
+++ b/systemsettings/modulesview.h
@@ -94,7 +94,7 @@ private:
KCModuleMenu *rootMenu;
TQString menuPath;
- void createRow( const TQString &parentPath, TQBoxLayout *tqlayout );
+ void createRow( const TQString &parentPath, TQBoxLayout *layout );
};
#endif // MODULESVIEW_H