diff --git a/kmailicalIface.h b/kmailicalIface.h index 0de755f89..d4396de81 100644 --- a/kmailicalIface.h +++ b/kmailicalIface.h @@ -54,7 +54,7 @@ k_dcop: virtual KURL getAttachment( const QString& resource, Q_UINT32 sernum, const QString& filename ) = 0; - + // This saves the iCals/vCards in the entries in the folder. // The format in the string list is uid, entry, uid, entry... virtual bool update( const QString& type, const QString& folder, @@ -74,10 +74,12 @@ k_dcop: virtual QMap incidencesKolab( const QString& mimetype, const QString& resource ) = 0; virtual QMap subresourcesKolab( const QString& contentsType ) = 0; - + k_dcop_signals: void incidenceAdded( const QString& type, const QString& folder, const QString& entry ); + void incidenceAdded( const QString& type, const QString& folder, + Q_UINT32 sernum, const QString& entry ); void incidenceDeleted( const QString& type, const QString& folder, const QString& uid ); void signalRefresh( const QString& type, const QString& folder ); diff --git a/kmailicalifaceimpl.cpp b/kmailicalifaceimpl.cpp index 42e56328e..ea0766640 100644 --- a/kmailicalifaceimpl.cpp +++ b/kmailicalifaceimpl.cpp @@ -500,6 +500,7 @@ void KMailICalIfaceImpl::slotIncidenceAdded( KMFolder* folder, kdDebug(5006) << "Emitting DCOP signal incidenceAdded( " << type << ", " << folder->location() << ", " << s << " )" << endl; incidenceAdded( type, folder->location(), s ); + incidenceAdded( type, folder->location(), sernum, s ); } if( unget ) folder->unGetMsg(i); } else