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/main.cpp | 2 +- src/profileengine/editor/profileeditor.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/profileengine/editor') diff --git a/src/profileengine/editor/main.cpp b/src/profileengine/editor/main.cpp index baac2e80..eeff6afc 100644 --- a/src/profileengine/editor/main.cpp +++ b/src/profileengine/editor/main.cpp @@ -30,7 +30,7 @@ static KCmdLineOptions options[] = int main(int argc, char **argv) { - KAboutData about("kdevprofileeditor", I18N_NOOP("KDevelop Profile Editor"), "1", "", + KAboutData about("kdevprofileeditor", I18N_NOOP("TDevelop Profile Editor"), "1", "", KAboutData::License_GPL, I18N_NOOP("(c) 2004, The KDevelop Developers"), 0, 0, ""); about.addAuthor("Alexander Dymo", 0, "adymo@tdevelop.org"); KCmdLineArgs::init(argc, argv, &about); 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.1