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/plugins/knotes/knotes_plugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kontact/plugins/knotes/knotes_plugin.cpp') diff --git a/kontact/plugins/knotes/knotes_plugin.cpp b/kontact/plugins/knotes/knotes_plugin.cpp index beaaa6331..1a94fdea3 100644 --- a/kontact/plugins/knotes/knotes_plugin.cpp +++ b/kontact/plugins/knotes/knotes_plugin.cpp @@ -38,16 +38,16 @@ K_EXPORT_COMPONENT_FACTORY( libkontact_knotesplugin, KNotesPluginFactory( "kontact_knotesplugin" ) ) -KNotesPlugin::KNotesPlugin( Kontact::Core *core, const char *, const QStringList & ) +KNotesPlugin::KNotesPlugin( Kontact::Core *core, const char *, const TQStringList & ) : Kontact::Plugin( core, core, "knotes" ), mAboutData( 0 ) { setInstance( KNotesPluginFactory::instance() ); insertNewAction( new KAction( i18n( "New Note..." ), "knotes", CTRL+SHIFT+Key_N, - this, SLOT( slotNewNote() ), actionCollection(), "new_note" ) ); + this, TQT_SLOT( slotNewNote() ), actionCollection(), "new_note" ) ); insertSyncAction( new KAction( i18n( "Synchronize Notes" ), "reload", 0, - this, SLOT( slotSyncNotes() ), actionCollection(), "knotes_sync" ) ); + this, TQT_SLOT( slotSyncNotes() ), actionCollection(), "knotes_sync" ) ); } KNotesPlugin::~KNotesPlugin() @@ -59,7 +59,7 @@ KParts::ReadOnlyPart* KNotesPlugin::createPart() return new KNotesPart( this, "notes" ); } -Kontact::Summary *KNotesPlugin::createSummaryWidget( QWidget *parentWidget ) +Kontact::Summary *KNotesPlugin::createSummaryWidget( TQWidget *parentWidget ) { return new KNotesSummaryWidget( this, parentWidget ); } @@ -90,7 +90,7 @@ void KNotesPlugin::slotNewNote() void KNotesPlugin::slotSyncNotes() { DCOPRef ref( "kmail", "KMailICalIface" ); - ref.send( "triggerSync", QString("Note") ); + ref.send( "triggerSync", TQString("Note") ); } #include "knotes_plugin.moc" -- cgit v1.2.1