summaryrefslogtreecommitdiffstats
path: root/kontact/src/kcmkontact.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:56:39 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:56:39 -0500
commit829790146716bc30c2e98cf2a767e60f60e5143a (patch)
tree9ec044f1ff90653dc07bc9e50254ab56c61b7144 /kontact/src/kcmkontact.cpp
parent66914d2878a6cadacbaf6ceacdd74d2999e4114e (diff)
downloadtdepim-829790146716bc30c2e98cf2a767e60f60e5143a.tar.gz
tdepim-829790146716bc30c2e98cf2a767e60f60e5143a.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'kontact/src/kcmkontact.cpp')
-rw-r--r--kontact/src/kcmkontact.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/src/kcmkontact.cpp b/kontact/src/kcmkontact.cpp
index cd9478f0a..2f5849bf9 100644
--- a/kontact/src/kcmkontact.cpp
+++ b/kontact/src/kcmkontact.cpp
@@ -115,20 +115,20 @@ void PluginSelection::readConfig()
{
const KTrader::OfferList offers = KTrader::self()->query(
TQString::fromLatin1( "Kontact/Plugin" ),
- TQString( "[X-KDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) );
+ TQString( "[X-TDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) );
int activeComponent = 0;
mPluginCombo->clear();
for ( KService::List::ConstIterator it = offers.begin(); it != offers.end(); ++it ) {
KService::Ptr service = *it;
// skip summary only plugins
- TQVariant var = service->property( "X-KDE-KontactPluginHasPart" );
+ TQVariant var = service->property( "X-TDE-KontactPluginHasPart" );
if ( var.isValid() && var.toBool() == false )
continue;
mPluginCombo->insertItem( service->name() );
mPluginList.append( service );
- if ( service->property("X-KDE-PluginInfo-Name").toString() == mItem->value() )
+ if ( service->property("X-TDE-PluginInfo-Name").toString() == mItem->value() )
activeComponent = mPluginList.count() - 1;
}
@@ -138,7 +138,7 @@ void PluginSelection::readConfig()
void PluginSelection::writeConfig()
{
KService::Ptr ptr = *( mPluginList.at( mPluginCombo->currentItem() ) );
- mItem->setValue( ptr->property("X-KDE-PluginInfo-Name").toString() );
+ mItem->setValue( ptr->property("X-TDE-PluginInfo-Name").toString() );
}
TQValueList<TQWidget *> PluginSelection::widgets() const