From 0c9d97065a3d6ceb12d687555a1a33d90db96238 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:51:32 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- tderesources/configpage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tderesources/configpage.cpp') diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp index 5844dd97c..0660710db 100644 --- a/tderesources/configpage.cpp +++ b/tderesources/configpage.cpp @@ -174,17 +174,17 @@ void ConfigPage::load() // KDE-3.3 compatibility code: get families from the plugins TQStringList compatFamilyNames; - const KTrader::OfferList plugins = KTrader::self()->query( "KResources/Plugin" ); - KTrader::OfferList::ConstIterator it = plugins.begin(); - KTrader::OfferList::ConstIterator end = plugins.end(); + const TDETrader::OfferList plugins = TDETrader::self()->query( "KResources/Plugin" ); + TDETrader::OfferList::ConstIterator it = plugins.begin(); + TDETrader::OfferList::ConstIterator end = plugins.end(); for ( ; it != end; ++it ) { const TQString family = (*it)->property( "X-TDE-ResourceFamily" ).toString(); if ( compatFamilyNames.find( family ) == compatFamilyNames.end() ) compatFamilyNames.append( family ); } - const KTrader::OfferList managers = KTrader::self()->query( "KResources/Manager" ); - KTrader::OfferList::ConstIterator m_it; + const TDETrader::OfferList managers = TDETrader::self()->query( "KResources/Manager" ); + TDETrader::OfferList::ConstIterator m_it; for( m_it = managers.begin(); m_it != managers.end(); ++m_it ) { TQString displayName = (*m_it)->property( "Name" ).toString(); familyDisplayNames.append( displayName ); -- cgit v1.2.1