summaryrefslogtreecommitdiffstats
path: root/akregator/src/pluginmanager.cpp
diff options
context:
space:
mode:
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 : [email protected]
#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() );