|
|
|
@ -237,7 +237,7 @@ void KCMultiWidget::addModule(const TQString& path, bool withfallback)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KCMultiWidget::addModule(const KCModuleInfo& moduleinfo,
|
|
|
|
|
TQStringList tqparentmodulenames, bool withfallback)
|
|
|
|
|
TQStringList parentmodulenames, bool withfallback)
|
|
|
|
|
{
|
|
|
|
|
if( !moduleinfo.service() )
|
|
|
|
|
return;
|
|
|
|
@ -253,8 +253,8 @@ void KCMultiWidget::addModule(const KCModuleInfo& moduleinfo,
|
|
|
|
|
switch( dialogface )
|
|
|
|
|
{
|
|
|
|
|
case TreeList:
|
|
|
|
|
tqparentmodulenames += moduleinfo.moduleName();
|
|
|
|
|
page = addHBoxPage( tqparentmodulenames, moduleinfo.comment(),
|
|
|
|
|
parentmodulenames += moduleinfo.moduleName();
|
|
|
|
|
page = addHBoxPage( parentmodulenames, moduleinfo.comment(),
|
|
|
|
|
SmallIcon( moduleinfo.icon(),
|
|
|
|
|
IconSize( KIcon::Small ) ) );
|
|
|
|
|
break;
|
|
|
|
@ -300,10 +300,10 @@ void KCMultiWidget::addModule(const KCModuleInfo& moduleinfo,
|
|
|
|
|
{
|
|
|
|
|
module = new KCModuleProxy( moduleinfo, withfallback, page );
|
|
|
|
|
|
|
|
|
|
TQStringList tqparentComponents = moduleinfo.service()->property(
|
|
|
|
|
TQStringList parentComponents = moduleinfo.service()->property(
|
|
|
|
|
"X-KDE-ParentComponents" ).toStringList();
|
|
|
|
|
moduleParentComponents.insert( module,
|
|
|
|
|
new TQStringList( tqparentComponents ) );
|
|
|
|
|
new TQStringList( parentComponents ) );
|
|
|
|
|
|
|
|
|
|
connect(module, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(clientChanged(bool)));
|
|
|
|
|
|
|
|
|
|