exchangeupload.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KDEPIM_EXCHANGE_UPLOAD_H
00021 #define KDEPIM_EXCHANGE_UPLOAD_H
00022
00023 #include <qstring.h>
00024 #include <qwidget.h>
00025 #include <kio/job.h>
00026
00027 #include <libkcal/calendar.h>
00028 #include <libkcal/event.h>
00029
00030 namespace KPIM {
00031
00032 class ExchangeAccount;
00033
00034 class ExchangeUpload : public QObject {
00035 Q_OBJECT
00036 public:
00037 ExchangeUpload( KCal::Event* event, ExchangeAccount* account, const QString& timeZoneId, QWidget* window=0 );
00038 ~ExchangeUpload();
00039
00040 private slots:
00041 void slotPatchResult( KIO::Job * );
00042 void slotPropFindResult( KIO::Job * );
00043 void slotFindUidResult( KIO::Job * );
00044
00045 signals:
00046 void startDownload();
00047 void finishDownload();
00048 void finished( ExchangeUpload* worker, int result, const QString& moreInfo );
00049
00050 private:
00051 void tryExist();
00052 void startUpload( const KURL& url );
00053 void findUid( QString const& uid );
00054
00055 ExchangeAccount* mAccount;
00056 KCal::Event* m_currentUpload;
00057 int m_currentUploadNumber;
00058 QString mTimeZoneId;
00059 QWidget* mWindow;
00060 };
00061
00062 }
00063
00064 #endif
This file is part of the documentation for libkpimexchange Library Version 3.2.2.