• 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
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 "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  virtual KOrg::PrintPlugin::List loadPrintPlugins()
56  {
57  return KOCore::self()->loadPrintPlugins();
58  }
59 };
60 
61 #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
KOrg::PrintPlugin::List
QList< PrintPlugin * > List
Definition: printplugin.h:69
KOCore::loadPrintPlugins
KOrg::PrintPlugin::List loadPrintPlugins()
Definition: kocore.cpp:312
KOCoreHelper::~KOCoreHelper
virtual ~KOCoreHelper()
Definition: kocorehelper.h:39
corehelper.h
koprefs.h
KOCoreHelper::loadPrintPlugins
virtual KOrg::PrintPlugin::List loadPrintPlugins()
Definition: kocorehelper.h:55
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
KOPrefsBase::mDayBegins
QDateTime mDayBegins
Definition: koprefs_base.h:3129
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
KOCore::self
static KOCore * self()
Definition: kocore.cpp:37
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