summaryrefslogtreecommitdiffstats
path: root/akregator/src/pluginmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/pluginmanager.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/pluginmanager.cpp')
-rw-r--r--akregator/src/pluginmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/src/pluginmanager.cpp b/akregator/src/pluginmanager.cpp
index db6c70117..83e746f8f 100644
--- a/akregator/src/pluginmanager.cpp
+++ b/akregator/src/pluginmanager.cpp
@@ -18,8 +18,8 @@ email : markey@web.de
#include <vector>
-#include <qfile.h>
-#include <qstring.h>
+#include <tqfile.h>
+#include <tqstring.h>
#include <klibloader.h>
#include <kdebug.h>
@@ -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( "<p>KLibLoader could not load the plugin:<br/><i>%1</i></p>"
@@ -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 = "<tr><td>%1</td><td>%2</td></tr>";
+ const TQString body = "<tr><td>%1</td><td>%2</td></tr>";
- QString str = "<html><body><table width=\"100%\" border=\"1\">";
+ TQString str = "<html><body><table width=\"100%\" border=\"1\">";
str += body.arg( i18n( "Name" ), s->name() );
str += body.arg( i18n( "Library" ), s->library() );