Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 13bbc66a0e
commit a171879c83

@ -43,7 +43,7 @@ ModulesView::ModulesView( KCModuleMenu *rootMenu, const TQString &menuPath, TQWi
this->rootMenu = rootMenu; this->rootMenu = rootMenu;
this->menuPath = menuPath; this->menuPath = menuPath;
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout" ); TQVBoxLayout *layout = new TQVBoxLayout( this, 11, 6, "layout" );
displayName = this->rootMenu->caption; displayName = this->rootMenu->caption;
@ -58,13 +58,13 @@ ModulesView::ModulesView( KCModuleMenu *rootMenu, const TQString &menuPath, TQWi
TQFrame *line = new TQFrame( this, "line"); TQFrame *line = new TQFrame( this, "line");
line->setFrameShadow( TQFrame::Sunken ); line->setFrameShadow( TQFrame::Sunken );
line->setFrameShape( TQFrame::HLine ); line->setFrameShape( TQFrame::HLine );
tqlayout->addWidget( line ); layout->addWidget( line );
} }
// Build the row of modules/icons // 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 // Make empty iconView for the search widget
if( groups.count()==0 ) { if( groups.count()==0 ) {

@ -94,7 +94,7 @@ private:
KCModuleMenu *rootMenu; KCModuleMenu *rootMenu;
TQString menuPath; TQString menuPath;
void createRow( const TQString &parentPath, TQBoxLayout *tqlayout ); void createRow( const TQString &parentPath, TQBoxLayout *layout );
}; };
#endif // MODULESVIEW_H #endif // MODULESVIEW_H

Loading…
Cancel
Save