From 998ebd2e683e45140493910f76e692e96887b5d2 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 4 Jul 2012 16:46:19 -0500 Subject: Fix help files, kdevelop->tdevelop branding, fix startup. --- src/profileengine/editor/profileeditor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/profileengine/editor/profileeditor.cpp') diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp index 0383f332..435e9986 100644 --- a/src/profileengine/editor/profileeditor.cpp +++ b/src/profileengine/editor/profileeditor.cpp @@ -115,11 +115,11 @@ void ProfileEditor::refresh() void ProfileEditor::refreshPropertyCombo() { - KTrader::OfferList list = KTrader::self()->query(TQString::fromLatin1("KDevelop/Plugin")); + KTrader::OfferList list = KTrader::self()->query(TQString::fromLatin1("TDevelop/Plugin")); TQStringList props; for (KTrader::OfferList::const_iterator it = list.constBegin(); it != list.constEnd(); ++it) { - TQStringList currProps = (*it)->property("X-KDevelop-Properties").toStringList(); + TQStringList currProps = (*it)->property("X-TDevelop-Properties").toStringList(); for (TQStringList::const_iterator p = currProps.constBegin(); p != currProps.constEnd(); ++p) if (!props.contains(*p)) @@ -209,19 +209,19 @@ void ProfileEditor::fillPluginsList(Profile *profile) for (KTrader::OfferList::const_iterator it = coreOffers.constBegin(); it != coreOffers.constEnd(); ++it) new KListViewItem(core, (*it)->desktopEntryName(), (*it)->genericName(), - (*it)->property("X-KDevelop-Properties").toStringList().join(", ")); + (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); KTrader::OfferList globalOffers = engine.offers(profile->name(), ProfileEngine::Global); for (KTrader::OfferList::const_iterator it = globalOffers.constBegin(); it != globalOffers.constEnd(); ++it) new KListViewItem(global, (*it)->desktopEntryName(), (*it)->genericName(), - (*it)->property("X-KDevelop-Properties").toStringList().join(", ")); + (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); KTrader::OfferList projectOffers = engine.offers(profile->name(), ProfileEngine::Project); for (KTrader::OfferList::const_iterator it = projectOffers.constBegin(); it != projectOffers.constEnd(); ++it) new KListViewItem(project, (*it)->desktopEntryName(), (*it)->genericName(), - (*it)->property("X-KDevelop-Properties").toStringList().join(", ")); + (*it)->property("X-TDevelop-Properties").toStringList().join(", ")); } void ProfileEditor::propertyExecuted(TQListBoxItem *item) -- cgit v1.2.3