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->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 ) {

@ -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

Loading…
Cancel
Save