SVN commit 868037 by danimo: Hint compilation with Qt 4.5, where qdbsxml2cpp generates QDBusPendingReplys (new in 4.5) instead of QDBusReplys. This allows for a conversion. Reviewed by Thiago. M +8 -7 kmailconnection.cpp M +2 -0 kmailconnection.h --- trunk/KDE/kdepim/kresources/kolab/shared/kmailconnection.cpp #868036:868037 @@ -157,7 +157,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->subresourcesKolab( contentsType ), lst ); + return checkReply, QList >( mKmailGroupwareInterface->subresourcesKolab( contentsType ), lst ); } bool KMailConnection::kmailIncidencesCount( int& count, @@ -166,7 +166,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->incidencesKolabCount( mimetype, resource ), count ); + return checkReply( mKmailGroupwareInterface->incidencesKolabCount( mimetype, resource ), count ); } bool KMailConnection::kmailIncidences( KMail::SernumDataPair::List& lst, @@ -177,7 +177,8 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->incidencesKolab( mimetype, resource, startIndex, nbMessages ), lst ); + return checkReply, QList >( + mKmailGroupwareInterface->incidencesKolab( mimetype, resource, startIndex, nbMessages ), lst ); } @@ -188,7 +189,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->getAttachment( resource, sernum, filename ), url ); + return checkReply( mKmailGroupwareInterface->getAttachment( resource, sernum, filename ), url ); } bool KMailConnection::kmailAttachmentMimetype( QString & mimeType, @@ -198,7 +199,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->attachmentMimetype( resource, sernum, filename ), mimeType ); + return checkReply( mKmailGroupwareInterface->attachmentMimetype( resource, sernum, filename ), mimeType ); } bool KMailConnection::kmailListAttachments(QStringList &list, @@ -206,7 +207,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->listAttachments( resource, sernum ), list ); + return checkReply( mKmailGroupwareInterface->listAttachments( resource, sernum ), list ); } bool KMailConnection::kmailDeleteIncidence( const QString& resource, @@ -229,7 +230,7 @@ { if ( !connectToKMail() ) return false; - return checkReply( mKmailGroupwareInterface->update( + return checkReply( mKmailGroupwareInterface->update( resource, sernum, subject, --- trunk/KDE/kdepim/kresources/kolab/shared/kmailconnection.h #868036:868037 @@ -134,6 +134,8 @@ return b && ok; } + + private slots: void dbusServiceOwnerChanged(const QString & service, const QString & oldOwner, const QString & newOwner);