• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

korganizer

kogroupware.h

Go to the documentation of this file.
00001 /*
00002   This file is part of the Groupware/KOrganizer integration.
00003 
00004   Requires the Qt and KDE widget libraries, available at no cost at
00005   http://www.trolltech.com and http://www.kde.org respectively
00006 
00007   Copyright (c) 2002-2004 Klarälvdalens Datakonsult AB
00008         <info@klaralvdalens-datakonsult.se>
00009 
00010   This program is free software; you can redistribute it and/or modify
00011   it under the terms of the GNU General Public License as published by
00012   the Free Software Foundation; either version 2 of the License, or
00013   (at your option) any later version.
00014 
00015   This program is distributed in the hope that it will be useful,
00016   but WITHOUT ANY WARRANTY; without even the implied warranty of
00017   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00018   GNU General Public License for more details.
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write to the Free Software Foundation, Inc.,
00022   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00023 
00024   In addition, as a special exception, the copyright holders give
00025   permission to link the code of this program with any edition of
00026   the Qt library by Trolltech AS, Norway (or with modified versions
00027   of Qt that use the same license as Qt), and distribute linked
00028   combinations including the two.  You must obey the GNU General
00029   Public License in all respects for all of the code used other than
00030   Qt.  If you modify this file, you may extend this exception to
00031   your version of the file, but you are not obligated to do so.  If
00032   you do not wish to do so, delete this exception statement from
00033   your version.
00034 */
00035 
00036 #ifndef KOGROUPWARE_H
00037 #define KOGROUPWARE_H
00038 
00039 #include <kcal/calendarresources.h>
00040 #include <kcal/icalformat.h>
00041 #include <kcal/scheduler.h>
00042 
00043 #include <kio/job.h>
00044 
00045 #include <QString>
00046 
00047 using namespace KCal;
00048 
00049 namespace KCal {
00050   class Calendar;
00051   class Event;
00052 }
00053 class CalendarView;
00054 class FreeBusyManager;
00055 
00056 namespace KOrg {
00057   class IncidenceChangerBase;
00058 }
00059 
00060 using namespace KOrg;
00061 
00062 class KOGroupware : public QObject
00063 {
00064   Q_OBJECT
00065   public:
00066     static KOGroupware *create( CalendarView *, KCal::CalendarResources * );
00067     static KOGroupware *instance();
00068 
00069     FreeBusyManager *freeBusyManager();
00070 
00075     bool sendICalMessage( QWidget *parent, KCal::iTIPMethod method,
00076                           Incidence *incidence, bool isDeleting = false,
00077                           bool statusChanged = false );
00078 
00084     void sendCounterProposal( KCal::Calendar* calendar, KCal::Event* oldEvent, KCal::Event *newEvent ) const;
00085 
00086     // THIS IS THE ACTUAL KM/KO API
00087     enum EventState {
00088       Accepted,
00089       ConditionallyAccepted,
00090       Declined,
00091       Request
00092     };
00093 
00094   private slots:
00096     void incomingDirChanged( const QString &path );
00097 
00099     void slotViewNewIncidenceChanger( IncidenceChangerBase *changer );
00100 
00101     void initialCheckForChanges();
00102 
00103   protected:
00104     KOGroupware( CalendarView *, KCal::CalendarResources * );
00105 
00106   private:
00107     static KOGroupware *mInstance;
00108     KCal::ICalFormat mFormat;
00109     CalendarView *mView;
00110     KCal::CalendarResources *mCalendar;
00111     static FreeBusyManager *mFreeBusyManager;
00112 };
00113 
00114 #endif

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal