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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
  • interfaces
  • korganizer
calendarviewbase.h
Go to the documentation of this file.
1 /*
2  This file is part of the KOrganizer interfaces.
3 
4  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 
23 #ifndef KORG_INTERFACES_CALENDARVIEWBASE_H
24 #define KORG_INTERFACES_CALENDARVIEWBASE_H
25 
26 #include "korganizer/baseview.h"
27 #include <Akonadi/Calendar/ETMCalendar>
28 
29 namespace KOrg {
30 
35 class CalendarViewBase : public QWidget
36 {
37  public:
38  explicit CalendarViewBase( QWidget *parent ) : QWidget( parent ) {}
39  virtual ~CalendarViewBase() {}
40 
41  virtual Akonadi::ETMCalendar::Ptr calendar() const = 0;
42  virtual Akonadi::IncidenceChanger *incidenceChanger() const = 0;
43 
44  virtual QDate startDate() = 0;
45  virtual QDate endDate() = 0;
46 
47  virtual Akonadi::Item currentSelection() = 0;
48 
49  virtual void addView( KOrg::BaseView * ) = 0;
50 
52  virtual void showView( KOrg::BaseView * ) = 0;
53 
54  virtual bool editIncidence( const Akonadi::Item &item, bool isCounter = false ) = 0;
55 
56  public Q_SLOTS:
57  virtual void updateView() = 0;
58  virtual void updateCategories() = 0;
59 
60  signals:
61  virtual void newIncidenceChanger( Akonadi::IncidenceChanger * ) = 0;
62 
63 };
64 
65 }
66 
67 #endif
KOrg::CalendarViewBase::updateCategories
virtual void updateCategories()=0
KOrg::CalendarViewBase::editIncidence
virtual bool editIncidence(const Akonadi::Item &item, bool isCounter=false)=0
KOrg::CalendarViewBase::updateView
virtual void updateView()=0
baseview.h
QWidget
KOrg::CalendarViewBase::incidenceChanger
virtual Akonadi::IncidenceChanger * incidenceChanger() const =0
KOrg::CalendarViewBase::CalendarViewBase
CalendarViewBase(QWidget *parent)
Definition: calendarviewbase.h:38
KOrg::CalendarViewBase::~CalendarViewBase
virtual ~CalendarViewBase()
Definition: calendarviewbase.h:39
KOrg::CalendarViewBase::endDate
virtual QDate endDate()=0
KOrg::CalendarViewBase::startDate
virtual QDate startDate()=0
KOrg::CalendarViewBase::newIncidenceChanger
virtual void newIncidenceChanger(Akonadi::IncidenceChanger *)=0
KOrg::CalendarViewBase::calendar
virtual Akonadi::ETMCalendar::Ptr calendar() const =0
KOrg::CalendarViewBase::addView
virtual void addView(KOrg::BaseView *)=0
KOrg::BaseView
This class provides an interface for all views being displayed within the main calendar view...
Definition: baseview.h:51
KOrg::CalendarViewBase::currentSelection
virtual Akonadi::Item currentSelection()=0
KOrg::CalendarViewBase
interface for main calendar view widget
Definition: calendarviewbase.h:35
KOrg::CalendarViewBase::showView
virtual void showView(KOrg::BaseView *)=0
changes the view to be the currently selected view
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal