korganizer
exchange.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KORG_EXCHANGE_H
00020 #define KORG_EXCHANGE_H
00021
00022 #include <qstring.h>
00023 #include <qdatetime.h>
00024
00025 #include <korganizer/part.h>
00026
00027 #include <libkcal/incidence.h>
00028 #include <libkcal/event.h>
00029
00030 #include <exchangeaccount.h>
00031 #include <exchangeclient.h>
00032
00033
00034 using namespace KCal;
00035
00036 class Exchange : public KOrg::Part {
00037 Q_OBJECT
00038 public:
00039 Exchange( KOrg::MainWindow *, const char *name );
00040 ~Exchange();
00041
00042 QString info();
00043
00044 QString shortInfo();
00045
00046 signals:
00047 void enableIncidenceActions( bool );
00048 void calendarChanged();
00049 void calendarChanged(const QDate&start,const QDate&end);
00050
00051 private slots:
00052 void download();
00053 void upload();
00054 void remove();
00055 void configure();
00056 void test();
00057 void slotIncidenceSelected( Incidence * );
00058
00059 private:
00060 void test2();
00061 void showError( int error, const QString& moreInfo = QString::null );
00062
00063 KPIM::ExchangeClient *mClient;
00064 KPIM::ExchangeAccount* mAccount;
00065 };
00066
00067 #endif
00068
|