akonadi
transportresourcebase_p.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_TRANSPORTRESOURCEBASE_P_H
00021 #define AKONADI_TRANSPORTRESOURCEBASE_P_H
00022
00023 #include "transportresourcebase.h"
00024
00025 #include <QtCore/QObject>
00026
00027 class TransportAdaptor;
00028
00029 namespace Akonadi {
00030
00031 class TransportResourceBase;
00032
00037 class TransportResourceBasePrivate : public QObject
00038 {
00039 Q_OBJECT
00040 public:
00041 TransportResourceBasePrivate( TransportResourceBase *qq );
00042
00043 Q_SIGNALS:
00051 void transportResult( qlonglong item, int result, const QString &message );
00052
00053 private Q_SLOTS:
00054 void fetchResult( KJob* );
00055
00056 private:
00057 friend class TransportResourceBase;
00058 friend class ::TransportAdaptor;
00059
00060 void send( Akonadi::Item::Id message );
00061
00062 TransportResourceBase *const q;
00063 };
00064
00065 }
00066
00067 #endif // AKONADI_TRANSPORTRESOURCEBASE_P_H