korganizer Library API Documentation

exchange.h

00001 /* 00002 This file is part of KOrganizer. 00003 Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 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 // using namespace KOrg; 00034 using namespace KCal; 00035 00036 class Exchange : public KOrg::Part { 00037 Q_OBJECT 00038 public: 00039 Exchange( KOrg::MainWindow *, const char * ); 00040 ~Exchange(); 00041 00042 QString info(); 00043 00044 signals: 00045 void enableIncidenceActions( bool ); 00046 void calendarChanged(); 00047 void calendarChanged(const QDate&start,const QDate&end); 00048 00049 private slots: 00050 void download(); 00051 void upload(); 00052 void remove(); 00053 void configure(); 00054 void test(); 00055 void slotIncidenceSelected( Incidence * ); 00056 00057 private: 00058 void test2(); 00059 void showError( int error, const QString& moreInfo = QString::null ); 00060 00061 KPIM::ExchangeClient *mClient; 00062 KPIM::ExchangeAccount* mAccount; 00063 }; 00064 00065 #endif 00066
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:53:19 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003