summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/journalplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/korganizer/journalplugin.cpp')
-rw-r--r--kontact/plugins/korganizer/journalplugin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kontact/plugins/korganizer/journalplugin.cpp b/kontact/plugins/korganizer/journalplugin.cpp
index 178901b4..789762d5 100644
--- a/kontact/plugins/korganizer/journalplugin.cpp
+++ b/kontact/plugins/korganizer/journalplugin.cpp
@@ -22,7 +22,7 @@
without including the source code for Qt in the source distribution.
*/
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kapplication.h>
#include <kaction.h>
@@ -42,7 +42,7 @@ typedef KGenericFactory< JournalPlugin, Kontact::Core > JournalPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libkontact_journalplugin,
JournalPluginFactory( "kontact_journalplugin" ) )
-JournalPlugin::JournalPlugin( Kontact::Core *core, const char *, const QStringList& )
+JournalPlugin::JournalPlugin( Kontact::Core *core, const char *, const TQStringList& )
: Kontact::Plugin( core, core, "korganizer" ),
mIface( 0 )
{
@@ -50,10 +50,10 @@ JournalPlugin::JournalPlugin( Kontact::Core *core, const char *, const QStringLi
instance()->iconLoader()->addAppDir("kdepim");
insertNewAction( new KAction( i18n( "New Journal..." ), "newjournal",
- CTRL+SHIFT+Key_J, this, SLOT( slotNewJournal() ), actionCollection(),
+ CTRL+SHIFT+Key_J, this, TQT_SLOT( slotNewJournal() ), actionCollection(),
"new_journal" ) );
insertSyncAction( new KAction( i18n( "Synchronize Journal" ), "reload",
- 0, this, SLOT( slotSyncJournal() ), actionCollection(),
+ 0, this, TQT_SLOT( slotSyncJournal() ), actionCollection(),
"journal_sync" ) );
@@ -83,9 +83,9 @@ void JournalPlugin::select()
interface()->showJournalView();
}
-QStringList JournalPlugin::invisibleToolbarActions() const
+TQStringList JournalPlugin::invisibleToolbarActions() const
{
- QStringList invisible;
+ TQStringList invisible;
invisible += "new_event";
invisible += "new_todo";
invisible += "new_journal";
@@ -117,10 +117,10 @@ void JournalPlugin::slotNewJournal()
void JournalPlugin::slotSyncJournal()
{
DCOPRef ref( "kmail", "KMailICalIface" );
- ref.send( "triggerSync", QString("Journal") );
+ ref.send( "triggerSync", TQString("Journal") );
}
-bool JournalPlugin::createDCOPInterface( const QString& serviceType )
+bool JournalPlugin::createDCOPInterface( const TQString& serviceType )
{
kdDebug(5602) << k_funcinfo << serviceType << endl;
if ( serviceType == "DCOP/Organizer" || serviceType == "DCOP/Calendar" ) {