diff options
author | Darrell Anderson <[email protected]> | 2012-06-08 15:51:46 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-06-08 15:51:46 -0500 |
commit | 6ed1ea98db6b1b369e7561efcc2c666b810e5446 (patch) | |
tree | 69da6d265387965c04a9584547ec42d4d372717d /kutils/ksettings/dialog.cpp | |
parent | 09d01cacf80d21ad213e6520b35e7f06e9546a83 (diff) | |
download | tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.tar.gz tdelibs-6ed1ea98db6b1b369e7561efcc2c666b810e5446.zip |
Update XDG information in support of bug report 892.
Diffstat (limited to 'kutils/ksettings/dialog.cpp')
-rw-r--r-- | kutils/ksettings/dialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<KService::Ptr> 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(); |