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 <tqstring.h>
00023 #include <tqdatetime.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 TQ_OBJECT
00039 public:
00040 Exchange( KOrg::MainWindow *, const char *name );
00041 ~Exchange();
00042
00043 TQString info();
00044
00045 TQString shortInfo();
00046
00047 signals:
00048 void enableIncidenceActions( bool );
00049 void calendarChanged();
00050 void calendarChanged(const TQDate&start,const TQDate&end);
00051
00052 private slots:
00053 void download();
00054 void upload();
00055 void remove();
00056 void configure();
00057 void test();
00058 void slotIncidenceSelected( Incidence * );
00059
00060 private:
00061 void test2();
00062 void showError( int error, const TQString& moreInfo = TQString() );
00063
00064 KPIM::ExchangeClient *mClient;
00065 KPIM::ExchangeAccount* mAccount;
00066 };
00067
00068 #endif
00069
|