kioslaves
opengroupware.h
Go to the documentation of this file.00001 /* 00002 This file is part of KDE. 00003 00004 Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 */ 00020 #ifndef GROUPWISE_H 00021 #define GROUPWISE_H 00022 00023 #include <kio/slavebase.h> 00024 00025 #include <qobject.h> 00026 00027 namespace KIO { 00028 class Job; 00029 class DavJob; 00030 } 00031 00032 00033 class OpenGroupware : public QObject, public KIO::SlaveBase 00034 { 00035 Q_OBJECT 00036 public: 00037 OpenGroupware( const QCString &protocol, const QCString &pool, 00038 const QCString &app ); 00039 00040 void get( const KURL &url ); 00041 00042 protected: 00043 void debugMessage( const QString & ); 00044 void errorMessage( const QString & ); 00045 00046 void getFreeBusy( const KURL &url ); 00047 void getCalendar( const KURL &url ); 00048 void getAddressbook( const KURL &url ); 00049 protected slots: 00050 void slotGetCalendarListingResult( KIO::Job* ); 00051 void slotGetCalendarResult( KIO::Job* ); 00052 private: 00053 KIO::DavJob *mListEventsJob; 00054 }; 00055 00056 #endif