From dc5f267664506a312203c26bfe9001a448b0bb0f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:49:49 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- kcontrol/componentchooser/componentchooser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kcontrol/componentchooser/componentchooser.cpp') diff --git a/kcontrol/componentchooser/componentchooser.cpp b/kcontrol/componentchooser/componentchooser.cpp index 8eab27216..c66a28b06 100644 --- a/kcontrol/componentchooser/componentchooser.cpp +++ b/kcontrol/componentchooser/componentchooser.cpp @@ -62,7 +62,7 @@ void CfgComponent::slotComponentChanged(const TQString&) { } void CfgComponent::save(TDEConfig *cfg) { - // yes, this can happen if there are NO KTrader offers for this component + // yes, this can happen if there are NO TDETrader offers for this component if (!m_lookupDict[ComponentSelector->currentText()]) return; @@ -84,9 +84,9 @@ void CfgComponent::load(TDEConfig *cfg) { TQString ServiceTypeToConfigure=cfg->readEntry("ServiceTypeToConfigure"); TQString MimeTypeOfInterest=cfg->readEntry("MimeTypeOfInterest"); - KTrader::OfferList offers = KTrader::self()->query(MimeTypeOfInterest, "'"+ServiceTypeToConfigure+"' in ServiceTypes"); + TDETrader::OfferList offers = TDETrader::self()->query(MimeTypeOfInterest, "'"+ServiceTypeToConfigure+"' in ServiceTypes"); - for (KTrader::OfferList::Iterator tit = offers.begin(); tit != offers.end(); ++tit) + for (TDETrader::OfferList::Iterator tit = offers.begin(); tit != offers.end(); ++tit) { ComponentSelector->insertItem((*tit)->name()); m_lookupDict.insert((*tit)->name(),new TQString((*tit)->desktopEntryName())); -- cgit v1.2.1