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/interfaces/plugin.cpp | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'kontact/interfaces/plugin.cpp') diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp index 33662015c..6025664f1 100644 --- a/kontact/interfaces/plugin.cpp +++ b/kontact/interfaces/plugin.cpp @@ -20,7 +20,7 @@ Boston, MA 02110-1301, USA. */ -#include +#include #include #include @@ -40,29 +40,29 @@ class Plugin::Private public: Kontact::Core *core; DCOPClient *dcopClient; - QPtrList *newActions; - QPtrList *syncActions; - QString identifier; - QString title; - QString icon; - QString executableName; - QCString partLibraryName; + TQPtrList *newActions; + TQPtrList *syncActions; + TQString identifier; + TQString title; + TQString icon; + TQString executableName; + TQCString partLibraryName; bool hasPart; KParts::ReadOnlyPart *part; bool disabled; }; -Plugin::Plugin( Kontact::Core *core, QObject *parent, const char *name ) - : KXMLGUIClient( core ), QObject( parent, name ), d( new Private ) +Plugin::Plugin( Kontact::Core *core, TQObject *parent, const char *name ) + : KXMLGUIClient( core ), TQObject( parent, name ), d( new Private ) { core->factory()->addClient( this ); KGlobal::locale()->insertCatalogue(name); d->core = core; d->dcopClient = 0; - d->newActions = new QPtrList; - d->syncActions = new QPtrList; + d->newActions = new TQPtrList; + d->syncActions = new TQPtrList; d->hasPart = true; d->part = 0; d->disabled = false; @@ -76,47 +76,47 @@ Plugin::~Plugin() delete d; } -void Plugin::setIdentifier( const QString &identifier ) +void Plugin::setIdentifier( const TQString &identifier ) { d->identifier = identifier; } -QString Plugin::identifier() const +TQString Plugin::identifier() const { return d->identifier; } -void Plugin::setTitle( const QString &title ) +void Plugin::setTitle( const TQString &title ) { d->title = title; } -QString Plugin::title() const +TQString Plugin::title() const { return d->title; } -void Plugin::setIcon( const QString &icon ) +void Plugin::setIcon( const TQString &icon ) { d->icon = icon; } -QString Plugin::icon() const +TQString Plugin::icon() const { return d->icon; } -void Plugin::setExecutableName( const QString& bin ) +void Plugin::setExecutableName( const TQString& bin ) { d->executableName = bin; } -QString Plugin::executableName() const +TQString Plugin::executableName() const { return d->executableName; } -void Plugin::setPartLibraryName( const QCString &libName ) +void Plugin::setPartLibraryName( const TQCString &libName ) { d->partLibraryName = libName; } @@ -147,16 +147,16 @@ KParts::ReadOnlyPart *Plugin::part() if ( !d->part ) { d->part = createPart(); if ( d->part ) { - connect( d->part, SIGNAL( destroyed() ), SLOT( partDestroyed() ) ); + connect( d->part, TQT_SIGNAL( destroyed() ), TQT_SLOT( partDestroyed() ) ); core()->partLoaded( this, d->part ); } } return d->part; } -QString Plugin::tipFile() const +TQString Plugin::tipFile() const { - return QString::null; + return TQString::null; } @@ -183,12 +183,12 @@ void Plugin::insertSyncAction( KAction *action ) d->syncActions->append( action ); } -QPtrList *Plugin::newActions() const +TQPtrList *Plugin::newActions() const { return d->newActions; } -QPtrList *Plugin::syncActions() const +TQPtrList *Plugin::syncActions() const { return d->syncActions; } @@ -242,11 +242,11 @@ bool Kontact::Plugin::disabled() const return d->disabled; } -void Kontact::Plugin::loadProfile( const QString& ) +void Kontact::Plugin::loadProfile( const TQString& ) { } -void Kontact::Plugin::saveToProfile( const QString& ) const +void Kontact::Plugin::saveToProfile( const TQString& ) const { } -- cgit v1.2.1