diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:53:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:53:25 -0600 |
commit | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (patch) | |
tree | ee683f46b49e6abdbdef78ed45ca65b47538bc23 /src/profileengine/editor | |
parent | 054f5901ab09f6ea6235bd12fbd167922fdf0f67 (diff) | |
download | tdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.tar.gz tdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'src/profileengine/editor')
-rw-r--r-- | src/profileengine/editor/profileeditor.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp index 78ed451d..7732ea90 100644 --- a/src/profileengine/editor/profileeditor.cpp +++ b/src/profileengine/editor/profileeditor.cpp @@ -115,9 +115,9 @@ void ProfileEditor::refresh() void ProfileEditor::refreshPropertyCombo() { - KTrader::OfferList list = KTrader::self()->query(TQString::fromLatin1("TDevelop/Plugin")); + TDETrader::OfferList list = TDETrader::self()->query(TQString::fromLatin1("TDevelop/Plugin")); TQStringList props; - for (KTrader::OfferList::const_iterator it = list.constBegin(); it != list.constEnd(); ++it) + for (TDETrader::OfferList::const_iterator it = list.constBegin(); it != list.constEnd(); ++it) { TQStringList currProps = (*it)->property("X-TDevelop-Properties").toStringList(); for (TQStringList::const_iterator p = currProps.constBegin(); @@ -141,14 +141,14 @@ void ProfileEditor::refreshAvailableList() allProject = new KListViewItem(allList, i18n("Project")); allProject->setOpen(true); - KTrader::OfferList olist = engine.allOffers(ProfileEngine::Core); - for (KTrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) + TDETrader::OfferList olist = engine.allOffers(ProfileEngine::Core); + for (TDETrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) new KListViewItem(allCore, (*it)->desktopEntryName(), (*it)->genericName()); olist = engine.allOffers(ProfileEngine::Global); - for (KTrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) + for (TDETrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) new KListViewItem(allGlobal, (*it)->desktopEntryName(), (*it)->genericName()); olist = engine.allOffers(ProfileEngine::Project); - for (KTrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) + for (TDETrader::OfferList::iterator it = olist.begin(); it != olist.end(); ++it) new KListViewItem(allProject, (*it)->desktopEntryName(), (*it)->genericName()); } @@ -205,20 +205,20 @@ void ProfileEditor::fillPluginsList(Profile *profile) KListViewItem *project = new KListViewItem(pluginsView, i18n("Project Plugins")); project->setOpen(true); - KTrader::OfferList coreOffers = engine.offers(profile->name(), ProfileEngine::Core); - for (KTrader::OfferList::const_iterator it = coreOffers.constBegin(); + TDETrader::OfferList coreOffers = engine.offers(profile->name(), ProfileEngine::Core); + for (TDETrader::OfferList::const_iterator it = coreOffers.constBegin(); it != coreOffers.constEnd(); ++it) new KListViewItem(core, (*it)->desktopEntryName(), (*it)->genericName(), (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); - KTrader::OfferList globalOffers = engine.offers(profile->name(), ProfileEngine::Global); - for (KTrader::OfferList::const_iterator it = globalOffers.constBegin(); + TDETrader::OfferList globalOffers = engine.offers(profile->name(), ProfileEngine::Global); + for (TDETrader::OfferList::const_iterator it = globalOffers.constBegin(); it != globalOffers.constEnd(); ++it) new KListViewItem(global, (*it)->desktopEntryName(), (*it)->genericName(), (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); - KTrader::OfferList projectOffers = engine.offers(profile->name(), ProfileEngine::Project); - for (KTrader::OfferList::const_iterator it = projectOffers.constBegin(); + TDETrader::OfferList projectOffers = engine.offers(profile->name(), ProfileEngine::Project); + for (TDETrader::OfferList::const_iterator it = projectOffers.constBegin(); it != projectOffers.constEnd(); ++it) new KListViewItem(project, (*it)->desktopEntryName(), (*it)->genericName(), (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); |