summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/journalplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kontact/plugins/korganizer/journalplugin.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 178901b4c..789762d5f 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" ) {