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 --- kontact/src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kontact/src/main.cpp') diff --git a/kontact/src/main.cpp b/kontact/src/main.cpp index ee29ce9d3..c19872357 100644 --- a/kontact/src/main.cpp +++ b/kontact/src/main.cpp @@ -34,7 +34,7 @@ #include #include "plugin.h" -#include +#include #include "prefs.h" #include "alarmclient.h" @@ -72,12 +72,12 @@ static void listPlugins() { KInstance instance( "kontact" ); // Can't use KontactApp since it's too late for adding cmdline options KTrader::OfferList offers = KTrader::self()->query( - QString::fromLatin1( "Kontact/Plugin" ), - QString( "[X-KDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) ); + TQString::fromLatin1( "Kontact/Plugin" ), + TQString( "[X-KDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) ); for ( KService::List::Iterator it = offers.begin(); it != offers.end(); ++it ) { KService::Ptr service = (*it); // skip summary only plugins - QVariant var = service->property( "X-KDE-KontactPluginHasPart" ); + TQVariant var = service->property( "X-KDE-KontactPluginHasPart" ); if ( var.isValid() && var.toBool() == false ) continue; cout << service->library().remove( "libkontact_" ).latin1() << endl; @@ -87,12 +87,12 @@ static void listPlugins() int KontactApp::newInstance() { KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); - QString moduleName; + TQString moduleName; if ( Kontact::Prefs::self()->forceStartupPlugin() ) { moduleName = Kontact::Prefs::self()->forcedStartupPlugin(); } if ( args->isSet( "module" ) ) { - moduleName = QString::fromLocal8Bit( args->getOption( "module" ) ); + moduleName = TQString::fromLocal8Bit( args->getOption( "module" ) ); } if ( !mSessionRestored ) { -- cgit v1.2.1