[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/plugins/kmail/bodypartformatter
From: Volker Krause <volker.krause () rwth-aachen ! de>
Date: 2006-07-16 10:52:23
Message-ID: 1153047143.126647.25772.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 562956 by vkrause:
compile
M +7 -9 text_calendar.cpp
--- trunk/KDE/kdepim/plugins/kmail/bodypartformatter/text_calendar.cpp #562955:562956
@@ -46,7 +46,7 @@
#include <kmail/kmmessage.h>
#include <kmail/kmcommands.h>
-#include <email.h>
+#include <emailfunctions/email.h>
#include <kglobal.h>
#include <klocale.h>
@@ -54,7 +54,7 @@
#include <kglobalsettings.h>
#include <kiconloader.h>
#include <kdebug.h>
-#include <kdcopservicestarter.h>
+#include <kdbusservicestarter.h>
#include <kmessagebox.h>
#include <kstandarddirs.h>
#include <kapplication.h>
@@ -66,9 +66,6 @@
#include <kdepimmacros.h>
-#include <dcopclient.h>
-#include <dcopref.h>
-
using namespace KCal;
namespace {
@@ -248,12 +245,13 @@
// Now ensure that korganizer is running; otherwise start it, to prevent \
surprises // (https://intevation.de/roundup/kolab/issue758)
QString error;
- DCOPCString dcopService;
- int result = KDCOPServiceStarter::self()->findServiceFor( "DCOP/Organizer", \
QString::null, &error, &dcopService ); + QString dcopService;
+ int result = KDBusServiceStarter::self()->findServiceFor( "DCOP/Organizer", \
QString::null, &error, &dcopService ); if ( result == 0 ) {
// OK, so korganizer (or kontact) is running. Now ensure the object we want \
is available
// [that's not the case when kontact was already running, but korganizer not \
loaded into it...]
- static const char* const dcopObjectId = "KOrganizerIface";
+#warning Port me to DBus!
+/* static const char* const dcopObjectId = "KOrganizerIface";
DCOPCString dummy;
if ( !kapp->dcopClient()->findObject( dcopService, dcopObjectId, "", \
QByteArray(), dummy, dummy ) ) {
DCOPRef ref( dcopService, dcopService ); // talk to the KUniqueApplication \
or its kontact wrapper @@ -263,7 +261,7 @@
Q_ASSERT( kapp->dcopClient()->findObject( dcopService, dcopObjectId, "", \
QByteArray(), dummy, dummy ) ); } else
kWarning() << "Error loading " << dcopService << endl;
- }
+ }*/
// We don't do anything with it, we just need it to be running so that it \
handles // the incoming directory.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic