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