From 910a61f9423d69871c2ef9ca8a0d7ace32474f93 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 16:56:40 -0500 Subject: Update XDG information in support of bug report 892. --- kword/KWMailMergeDataBase.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kword/KWMailMergeDataBase.cpp') diff --git a/kword/KWMailMergeDataBase.cpp b/kword/KWMailMergeDataBase.cpp index b2e2bc73..90606ce1 100644 --- a/kword/KWMailMergeDataBase.cpp +++ b/kword/KWMailMergeDataBase.cpp @@ -63,7 +63,7 @@ TQStringList KWMailMergeDataBase::availablePlugins() KTrader::OfferList pluginOffers=KTrader::self()->query(TQString::fromLatin1("KWord/MailMergePlugin"),TQString()); for (KTrader::OfferList::Iterator it=pluginOffers.begin();*it;++it) { - tmp.append((*it)->property("X-KDE-InternalName").toString()); + tmp.append((*it)->property("X-TDE-InternalName").toString()); kdDebug()<<"Found mail merge plugin: "<< (*it)->name()<query(TQString::fromLatin1("KWord/MailMergePlugin"),constrain); KService::Ptr it=pluginOffers.first(); - TQVariant verProp=it->property("X-KDE-PluginVersion"); + TQVariant verProp=it->property("X-TDE-PluginVersion"); int version=verProp.toInt(); if (it) @@ -116,7 +116,7 @@ KWMailMergeDataSource *KWMailMergeDataBase::openPluginFor(int type,int &version) { version=0; KWMailMergeDataSource *ret=0; - TQString constrain=TQString("'%1' in [X-KDE-Capabilities]").arg(((type==KWSLCreate)?KWSLCreate_text:KWSLOpen_text)); + TQString constrain=TQString("'%1' in [X-TDE-Capabilities]").arg(((type==KWSLCreate)?KWSLCreate_text:KWSLOpen_text)); kdDebug()<query(TQString::fromLatin1("KWord/MailMergePlugin"),constrain); @@ -138,7 +138,7 @@ KWMailMergeDataSource *KWMailMergeDataBase::openPluginFor(int type,int &version) KWMailMergeChoosePluginDialog *dia=new KWMailMergeChoosePluginDialog(pluginOffers); if (dia->exec()==TQDialog::Accepted) { - TQVariant verProp=(*(pluginOffers.at(dia->currentPlugin())))->property("X-KDE-PluginVersion"); + TQVariant verProp=(*(pluginOffers.at(dia->currentPlugin())))->property("X-TDE-PluginVersion"); version=verProp.toInt(); ret=loadPlugin((*(pluginOffers.at(dia->currentPlugin())))->library()); -- cgit v1.2.1