diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:52:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:52:27 -0600 |
commit | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (patch) | |
tree | 83fe0c80cbb2bbcfefac383520869fe3a64e88f1 /kaddressbook | |
parent | 6dea9442526e5ebacf313ad387c7dff4b87a53bf (diff) | |
download | tdepim-b440a9c608596cd88efdb3bfa4661c5e37efbe4b.tar.gz tdepim-b440a9c608596cd88efdb3bfa4661c5e37efbe4b.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'kaddressbook')
-rw-r--r-- | kaddressbook/contacteditorwidgetmanager.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/editors/imeditorwidget.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/extensionmanager.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/viewmanager.cpp | 4 | ||||
-rw-r--r-- | kaddressbook/xxportmanager.cpp | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/contacteditorwidgetmanager.cpp b/kaddressbook/contacteditorwidgetmanager.cpp index e0a282b74..c3bea4b01 100644 --- a/kaddressbook/contacteditorwidgetmanager.cpp +++ b/kaddressbook/contacteditorwidgetmanager.cpp @@ -75,10 +75,10 @@ void ContactEditorWidgetManager::reload() { mFactories.clear(); kdDebug(5720) << "ContactEditorWidgetManager::reload()" << endl; - const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/ContactEditorWidget", + const TDETrader::OfferList plugins = TDETrader::self()->query( "KAddressBook/ContactEditorWidget", TQString( "[X-TDE-KAddressBook-CEWPluginVersion] == %1" ).arg( KAB_CEW_PLUGIN_VERSION ) ); - KTrader::OfferList::ConstIterator it; + TDETrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().latin1() ); if ( !factory ) { diff --git a/kaddressbook/editors/imeditorwidget.cpp b/kaddressbook/editors/imeditorwidget.cpp index f8a92e1cb..c8047d909 100644 --- a/kaddressbook/editors/imeditorwidget.cpp +++ b/kaddressbook/editors/imeditorwidget.cpp @@ -167,7 +167,7 @@ IMEditorWidget::IMEditorWidget( TQWidget *parent, const TQString &preferredIM, c //mWidget->btnDown->setEnabled( false ); mPreferred = preferredIM; mPreferred = mPreferred.replace( " on ", TQString( TQChar( 0xE120 ) ), true ); - mProtocols = KPluginInfo::fromServices( KTrader::self()->query( TQString::fromLatin1( "KABC/IMProtocol" ) ) ); + mProtocols = KPluginInfo::fromServices( TDETrader::self()->query( TQString::fromLatin1( "KABC/IMProtocol" ) ) ); // order the protocols by putting them in a qmap, then sorting the set of keys and recreating the list TQMap<TQString, KPluginInfo *> protocolMap; diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp index dea1170ea..bd565a846 100644 --- a/kaddressbook/extensionmanager.cpp +++ b/kaddressbook/extensionmanager.cpp @@ -216,10 +216,10 @@ void ExtensionManager::createExtensionWidgets() } // load the other extensions - const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/Extension", + const TDETrader::OfferList plugins = TDETrader::self()->query( "KAddressBook/Extension", TQString( "[X-TDE-KAddressBook-ExtensionPluginVersion] == %1" ).arg( KAB_EXTENSIONWIDGET_PLUGIN_VERSION ) ); - KTrader::OfferList::ConstIterator it; + TDETrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().latin1() ); if ( !factory ) { diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index bfb02760f..937f994cb 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -386,9 +386,9 @@ void ViewManager::scrollDown() void ViewManager::createViewFactories() { - const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/View", + const TDETrader::OfferList plugins = TDETrader::self()->query( "KAddressBook/View", TQString( "[X-TDE-KAddressBook-ViewPluginVersion] == %1" ).arg( KAB_VIEW_PLUGIN_VERSION ) ); - KTrader::OfferList::ConstIterator it; + TDETrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { if ( !(*it)->hasServiceType( "KAddressBook/View" ) ) continue; diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp index 6d6b74e55..ed9743111 100644 --- a/kaddressbook/xxportmanager.cpp +++ b/kaddressbook/xxportmanager.cpp @@ -120,9 +120,9 @@ void XXPortManager::loadPlugins() { mXXPortObjects.clear(); - const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/XXPort", + const TDETrader::OfferList plugins = TDETrader::self()->query( "KAddressBook/XXPort", TQString( "[X-TDE-KAddressBook-XXPortPluginVersion] == %1" ).arg( KAB_XXPORT_PLUGIN_VERSION ) ); - KTrader::OfferList::ConstIterator it; + TDETrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { if ( !(*it)->hasServiceType( "KAddressBook/XXPort" ) ) continue; |