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

korganizer

  • sources
  • kde-4.14
  • kdepim
  • korganizer
kocorehelper.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 1999 Preston Brown <pbrown@kde.org>
5  Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
6  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License along
19  with this program; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 
22  As a special exception, permission is given to link this program
23  with any edition of Qt, and distribute the resulting executable,
24  without including the source code for Qt in the source distribution.
25 */
26 
27 #ifndef KORG_KOCOREHELPER_H
28 #define KORG_KOCOREHELPER_H
29 
30 #include "kocore.h"
31 #include "koglobals.h"
32 #include "prefs/koprefs.h"
33 #include "korganizer/corehelper.h"
34 
35 class KOCoreHelper : public KOrg::CoreHelper
36 {
37  public:
38  KOCoreHelper() {}
39  virtual ~KOCoreHelper() {}
40 
41  virtual QColor categoryColor( const QStringList &cats );
42 
43  virtual QString holidayString( const QDate &dt );
44 
45  virtual QTime dayStart()
46  {
47  return KOPrefs::instance()->mDayBegins.time();
48  }
49 
50  virtual const KCalendarSystem *calendarSystem()
51  {
52  return KOGlobals::self()->calendarSystem();
53  }
54 };
55 
56 #endif
koglobals.h
KOCoreHelper::dayStart
virtual QTime dayStart()
Definition: kocorehelper.h:45
KOCoreHelper
Definition: kocorehelper.h:35
KOCoreHelper::holidayString
virtual QString holidayString(const QDate &dt)
Definition: kocorehelper.cpp:45
QTime
KOCoreHelper::~KOCoreHelper
virtual ~KOCoreHelper()
Definition: kocorehelper.h:39
corehelper.h
koprefs.h
QDate
QString
QColor
QStringList
KOGlobals::calendarSystem
const KCalendarSystem * calendarSystem() const
Definition: koglobals.cpp:65
KOGlobals::self
static KOGlobals * self()
Definition: koglobals.cpp:43
KOrg::CoreHelper
Definition: corehelper.h:30
KOCoreHelper::calendarSystem
virtual const KCalendarSystem * calendarSystem()
Definition: kocorehelper.h:50
KOCoreHelper::KOCoreHelper
KOCoreHelper()
Definition: kocorehelper.h:38
KOPrefs::instance
static KOPrefs * instance()
Get instance of KOPrefs.
Definition: koprefs.cpp:68
KOCoreHelper::categoryColor
virtual QColor categoryColor(const QStringList &cats)
Definition: kocorehelper.cpp:29
kocore.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:59 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
  • pimprint

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