[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kalarm
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2007-02-08 20:02:53
Message-ID: 1170964973.884241.26644.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 631700 by djarvie:

Tidy

 M  +4 -3      kamail.cpp  


--- trunk/KDE/kdepim/kalarm/kamail.cpp #631699:631700
@@ -1,7 +1,7 @@
 /*
  *  kamail.cpp  -  email functions
  *  Program:  kalarm
- *  Copyright  © 2002-2006 by David Jarvie <software@astrojar.org.uk>
+ *  Copyright  © 2002-2007 by David Jarvie <software@astrojar.org.uk>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -54,12 +54,13 @@
 #include "alarmevent.h"
 #include "functions.h"
 #include "kalarmapp.h"
+#include "kmailinterface.h"
 #include "mainwindow.h"
 #include "preferences.h"
 #include "kamail.h"
-#include "kmailinterface.h"
 
 static const char* KMAIL_DBUS_SERVICE = "org.kde.kmail";
+static const char* KMAIL_DBUS_PATH    = "/KMail";
 
 
 namespace HeaderParsing
@@ -291,7 +292,7 @@
 		}
 
 		// Notify KMail of the message in the temporary file
-		org::kde::kmail::kmail kmail("org.kde.kmail", "/KMail", \
QDBusConnection::sessionBus()); +		org::kde::kmail::kmail kmail(KMAIL_DBUS_SERVICE, \
KMAIL_DBUS_PATH, QDBusConnection::sessionBus());  QDBusReply<int> reply = \
kmail.dbusAddMessage(QString::fromLatin1(folder), tmpFile.fileName(), QString());  if \
(!reply.isValid())  kError(5950) << "KAMail::addToKMailFolder(): D-Bus call failed: " \
<< reply.error().message() << endl;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic