From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- akregator/src/pluginmanager.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'akregator/src/pluginmanager.cpp') diff --git a/akregator/src/pluginmanager.cpp b/akregator/src/pluginmanager.cpp index db6c7011..83e746f8 100644 --- a/akregator/src/pluginmanager.cpp +++ b/akregator/src/pluginmanager.cpp @@ -18,8 +18,8 @@ email : markey@web.de #include -#include -#include +#include +#include #include #include @@ -40,12 +40,12 @@ PluginManager::m_store; ///////////////////////////////////////////////////////////////////////////////////// KTrader::OfferList -PluginManager::query( const QString& constraint ) +PluginManager::query( const TQString& constraint ) { // Add versioning constraint QString str = "[X-KDE-akregator-framework-version] == "; - str += QString::number( FrameworkVersion ); + str += TQString::number( FrameworkVersion ); str += " and "; if (!constraint.stripWhiteSpace().isEmpty()) str += constraint + " and "; @@ -58,7 +58,7 @@ PluginManager::query( const QString& constraint ) Plugin* -PluginManager::createFromQuery( const QString &constraint ) +PluginManager::createFromQuery( const TQString &constraint ) { KTrader::OfferList offers = query( constraint ); @@ -87,7 +87,7 @@ PluginManager::createFromService( const KService::Ptr service ) //get the library loader instance KLibLoader *loader = KLibLoader::self(); //try to load the specified library - KLibrary *lib = loader->globalLibrary( QFile::encodeName( service->library() ) ); + KLibrary *lib = loader->globalLibrary( TQFile::encodeName( service->library() ) ); if ( !lib ) { KMessageBox::error( 0, i18n( "

KLibLoader could not load the plugin:
%1

" @@ -154,7 +154,7 @@ PluginManager::getService( const Plugin* plugin ) void -PluginManager::showAbout( const QString &constraint ) +PluginManager::showAbout( const TQString &constraint ) { KTrader::OfferList offers = query( constraint ); @@ -163,9 +163,9 @@ PluginManager::showAbout( const QString &constraint ) KService::Ptr s = offers.front(); - const QString body = "%1%2"; + const TQString body = "%1%2"; - QString str = ""; + TQString str = "
"; str += body.arg( i18n( "Name" ), s->name() ); str += body.arg( i18n( "Library" ), s->library() ); -- cgit v1.2.3