From 6ed1ea98db6b1b369e7561efcc2c666b810e5446 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:51:46 -0500 Subject: Update XDG information in support of bug report 892. --- kutils/ksettings/dialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kutils/ksettings/dialog.cpp') diff --git a/kutils/ksettings/dialog.cpp b/kutils/ksettings/dialog.cpp index 3ec83aeee..8fbe74c81 100644 --- a/kutils/ksettings/dialog.cpp +++ b/kutils/ksettings/dialog.cpp @@ -463,8 +463,8 @@ TQValueList Dialog::parentComponentsServices( { d->registeredComponents += kcdparents; TQString constraint = kcdparents.join( - "' in [X-KDE-ParentComponents]) or ('" ); - constraint = "('" + constraint + "' in [X-KDE-ParentComponents])"; + "' in [X-TDE-ParentComponents]) or ('" ); + constraint = "('" + constraint + "' in [X-TDE-ParentComponents])"; kdDebug( 700 ) << "constraint = " << constraint << endl; return KTrader::self()->query( "KCModule", constraint ); @@ -479,7 +479,7 @@ bool Dialog::isPluginForKCMEnabled( KCModuleInfo * moduleinfo ) const << " KCM should be shown" << endl; // for all parent components TQStringList parentComponents = moduleinfo->service()->property( - "X-KDE-ParentComponents" ).toStringList(); + "X-TDE-ParentComponents" ).toStringList(); for( TQStringList::ConstIterator pcit = parentComponents.begin(); pcit != parentComponents.end(); ++pcit ) { @@ -550,7 +550,7 @@ void Dialog::createDialogFromServices() // we create the KCModuleInfo KCModuleInfo * info = new KCModuleInfo( *it ); TQString parentid; - TQVariant tmp = info->service()->property( "X-KDE-CfgDlgHierarchy", + TQVariant tmp = info->service()->property( "X-TDE-CfgDlgHierarchy", TQVariant::String ); if( tmp.isValid() ) parentid = tmp.toString(); -- cgit v1.2.1