diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:36:08 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:08 +0200 |
commit | 1c082a5ba751ddd4edd36bb0061462f9a999f88d (patch) | |
tree | e58e00b13f367e1eb92dc92b6dfbc69065226b80 /src/projectmanager.cpp | |
parent | c51913a8c885131a350d3fcda9715699b0467306 (diff) | |
download | tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.tar.gz tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit c3b301575a98e4c3505ad95534d6192b65539dab)
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r-- | src/projectmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp index 58cbaaef..3924ba54 100644 --- a/src/projectmanager.cpp +++ b/src/projectmanager.cpp @@ -411,7 +411,7 @@ bool ProjectManager::saveProjectFile() API::getInstance()->projectDom()->save(stream, 2); fout.close(); } else { - KTempFile fout(TQString::tqfromLatin1("kdevelop3")); + KTempFile fout(TQString::fromLatin1("kdevelop3")); fout.setAutoDelete(true); if (fout.status() != 0) { KMessageBox::sorry(TopLevel::getInstance()->main(), i18n("Could not write the project file.")); @@ -536,8 +536,8 @@ bool ProjectManager::loadLanguageSupport(const TQString& lang) } KTrader::OfferList languageSupportOffers = - KTrader::self()->query(TQString::tqfromLatin1("KDevelop/LanguageSupport"), - TQString::tqfromLatin1("[X-KDevelop-Language] == '%1' and [X-KDevelop-Version] == %2").tqarg(lang).tqarg(KDEVELOP_PLUGIN_VERSION)); + KTrader::self()->query(TQString::fromLatin1("KDevelop/LanguageSupport"), + TQString::fromLatin1("[X-KDevelop-Language] == '%1' and [X-KDevelop-Version] == %2").tqarg(lang).tqarg(KDEVELOP_PLUGIN_VERSION)); if (languageSupportOffers.isEmpty()) { KMessageBox::sorry(TopLevel::getInstance()->main(), |