From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/app/katepluginmanager.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kate/app/katepluginmanager.cpp') diff --git a/kate/app/katepluginmanager.cpp b/kate/app/katepluginmanager.cpp index e3390e6a2..044cb73aa 100644 --- a/kate/app/katepluginmanager.cpp +++ b/kate/app/katepluginmanager.cpp @@ -27,12 +27,12 @@ #include "../interfaces/application.h" #include -#include +#include #include #include -#include +#include -KatePluginManager::KatePluginManager(QObject *parent) : QObject (parent) +KatePluginManager::KatePluginManager(TQObject *parent) : TQObject (parent) { m_pluginManager = new Kate::PluginManager (this); setupPluginList (); @@ -57,13 +57,13 @@ KatePluginManager *KatePluginManager::self() void KatePluginManager::setupPluginList () { - QValueList traderList= KTrader::self()->query("Kate/Plugin", "(not ('Kate/ProjectPlugin' in ServiceTypes)) and (not ('Kate/InitPlugin' in ServiceTypes))"); + TQValueList traderList= KTrader::self()->query("Kate/Plugin", "(not ('Kate/ProjectPlugin' in ServiceTypes)) and (not ('Kate/InitPlugin' in ServiceTypes))"); for(KTrader::OfferList::Iterator it(traderList.begin()); it != traderList.end(); ++it) { KService::Ptr ptr = (*it); - QString pVersion = ptr->property("X-Kate-Version").toString(); + TQString pVersion = ptr->property("X-Kate-Version").toString(); // if ((pVersion >= "2.5") && (pVersion <= KateApp::kateVersion(false))) if (pVersion == "2.5") @@ -94,7 +94,7 @@ void KatePluginManager::writeConfig () for (unsigned int i=0; i < m_pluginList.size(); ++i) { - QString saveName=m_pluginList[i].service->property("X-Kate-PluginName").toString(); + TQString saveName=m_pluginList[i].service->property("X-Kate-PluginName").toString(); if (saveName.isEmpty()) saveName = m_pluginList[i].service->library(); @@ -143,12 +143,12 @@ void KatePluginManager::disableAllPluginsGUI (KateMainWindow *win) void KatePluginManager::loadPlugin (KatePluginInfo *item) { - QString pluginName=item->service->property("X-Kate-PluginName").toString(); + TQString pluginName=item->service->property("X-Kate-PluginName").toString(); if (pluginName.isEmpty()) pluginName=item->service->library(); - item->load = (item->plugin = Kate::createPlugin (QFile::encodeName(item->service->library()), Kate::application(), 0, pluginName)); + item->load = (item->plugin = Kate::createPlugin (TQFile::encodeName(item->service->library()), Kate::application(), 0, pluginName)); } void KatePluginManager::unloadPlugin (KatePluginInfo *item) @@ -197,12 +197,12 @@ void KatePluginManager::disablePluginGUI (KatePluginInfo *item) } } -Kate::Plugin *KatePluginManager::plugin(const QString &name) +Kate::Plugin *KatePluginManager::plugin(const TQString &name) { for (unsigned int i=0; i < m_pluginList.size(); ++i) { KatePluginInfo *info = &m_pluginList[i]; - QString pluginName=info->service->property("X-Kate-PluginName").toString(); + TQString pluginName=info->service->property("X-Kate-PluginName").toString(); if (pluginName.isEmpty()) pluginName=info->service->library(); if (pluginName==name) @@ -216,6 +216,6 @@ Kate::Plugin *KatePluginManager::plugin(const QString &name) return 0; } -bool KatePluginManager::pluginAvailable(const QString &){return false;} -class Kate::Plugin *KatePluginManager::loadPlugin(const QString &,bool ){return 0;} -void KatePluginManager::unloadPlugin(const QString &,bool){;} +bool KatePluginManager::pluginAvailable(const TQString &){return false;} +class Kate::Plugin *KatePluginManager::loadPlugin(const TQString &,bool ){return 0;} +void KatePluginManager::unloadPlugin(const TQString &,bool){;} -- cgit v1.2.1