• 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
  • plugins
  • datenums
datenums.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (c) 2007 Loïc Corbasson <loic.corbasson@gmail.com>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program 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
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License along
18  with this program; if not, write to the Free Software Foundation, Inc.,
19  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21 #ifndef KORG_PLUGINS_DATENUMS_DATENUMS_H
22 #define KORG_PLUGINS_DATENUMS_DATENUMS_H
23 
24 #include <calendarviews/agenda/calendardecoration.h>
25 
26 using namespace EventViews::CalendarDecoration;
27 
28 class Datenums : public Decoration
29 {
30  public:
31  Datenums();
32  ~Datenums() {}
33 
34  void configure( QWidget *parent );
35 
36  Element::List createDayElements( const QDate & );
37  Element::List createWeekElements( const QDate & );
38 
39  enum DayNumber {
40  DayOfYear = 1,
41  DaysRemaining = 2
42  };
43  Q_DECLARE_FLAGS( DayNumbers, DayNumber )
44 
45  QString info() const;
46 
47  private:
48  DayNumbers mDisplayedInfo;
49 };
50 
51 Q_DECLARE_OPERATORS_FOR_FLAGS( Datenums::DayNumbers )
52 
53 #endif
Datenums::DayNumber
DayNumber
Definition: datenums.h:39
QWidget
Decoration
Datenums::~Datenums
~Datenums()
Definition: datenums.h:32
Datenums
Definition: datenums.h:28
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