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