[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kresources/kolab/shared
From: Daniel Molkentin <molkentin () kde ! org>
Date: 2008-10-05 10:32:28
Message-ID: 1223202748.806940.27387.nullmailer () svn ! kde ! org
[Download RAW message or body]
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<KMail::SubResource>, QList<KMail::SubResource> >( \
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<int, int>( \
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<KMail::SernumDataPair>, \
QList<KMail::SernumDataPair> >( + 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<QString, KUrl>( \
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<QString, QString>( \
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<QStringList, QStringList>( \
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<quint32,quint32>( 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);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic