summaryrefslogtreecommitdiffstats
path: root/src/plugincontroller.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:00:33 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 19:35:16 +0200
commitec049c7c32d50faf317b13d5c844a19978881fc3 (patch)
treeca9b445d4cba887b9161fddd3ba714e1d7b5060b /src/plugincontroller.cpp
parent1c082a5ba751ddd4edd36bb0061462f9a999f88d (diff)
downloadtdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.tar.gz
tdevelop-ec049c7c32d50faf317b13d5c844a19978881fc3.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 7e66d7c3611d907ea28b140281b472bb1c406be6)
Diffstat (limited to 'src/plugincontroller.cpp')
-rw-r--r--src/plugincontroller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugincontroller.cpp b/src/plugincontroller.cpp
index ff03b99d..7b7ffac1 100644
--- a/src/plugincontroller.cpp
+++ b/src/plugincontroller.cpp
@@ -49,7 +49,7 @@ namespace
template <class ComponentType>
ComponentType *loadDefaultPart( const TQString &serviceType )
{
- KTrader::OfferList offers = KTrader::self()->query(serviceType, TQString("[X-KDevelop-Version] == %1").tqarg(KDEVELOP_PLUGIN_VERSION));
+ KTrader::OfferList offers = KTrader::self()->query(serviceType, TQString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION));
KTrader::OfferList::ConstIterator serviceIt = offers.begin();
for ( ; serviceIt != offers.end(); ++serviceIt ) {
KService::Ptr service = *serviceIt;
@@ -147,7 +147,7 @@ void PluginController::loadPlugins( KTrader::OfferList offers, const TQStringLis
if( m_parts[ name ] != 0 || ignorePlugins.contains( name ) )
continue;
- emit loadingPlugin(i18n("Loading: %1").tqarg((*it)->genericName()));
+ emit loadingPlugin(i18n("Loading: %1").arg((*it)->genericName()));
KDevPlugin *plugin = loadPlugin( *it );
if ( plugin )
@@ -218,7 +218,7 @@ KDevPlugin *PluginController::loadPlugin( const KService::Ptr &service )
0,
i18n("<b>Could not load plugin</b><br>"
"Plugin %1 could not be loaded<br>"
- "Library loader error: %2").tqarg(service->name()).
+ "Library loader error: %2").arg(service->name()).
arg(KLibLoader::self()->lastErrorMessage()),
i18n("Could not load plugin"));
}