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

kalarm

  • sources
  • kde-4.12
  • kdepim
  • kalarm
functions_p.h
Go to the documentation of this file.
1 /*
2  * functions_p.h - private declarations for miscellaneous functions
3  * Program: kalarm
4  * Copyright © 2009,2011 by David Jarvie <djarvie@kde.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef FUNCTIONS_P_H
22 #define FUNCTIONS_P_H
23 
24 #include "kalarm.h" //krazy:exclude=includes (kalarm.h must be first)
25 #include <kwindowsystem.h>
26 #include <QObject>
27 
28 class EditAlarmDlg;
29 
30 namespace KAlarm
31 {
32 
33 // Private class which exists solely to allow signals/slots to work.
34 class Private : public QObject
35 {
36  Q_OBJECT
37  public:
38  explicit Private(QObject* parent = 0) : QObject(parent) {}
39  static bool startKMailMinimised();
40  static Private* instance()
41  {
42  if (!mInstance)
43  mInstance = new Private;
44  return mInstance;
45  }
46 
47  QWidget* mMsgParent;
48 
49  public slots:
50  void windowAdded(WId);
51  void cancelRtcWake();
52 
53  private:
54  static Private* mInstance;
55 };
56 
57 // Private class to handle Edit New Alarm dialog OK button.
58 class PrivateNewAlarmDlg : public QObject
59 {
60  Q_OBJECT
61  public:
62  PrivateNewAlarmDlg() {}
63  explicit PrivateNewAlarmDlg(EditAlarmDlg*);
64  void accept(EditAlarmDlg*);
65 
66  private slots:
67  void okClicked();
68  void cancelClicked();
69 };
70 
71 } // namespace KAlarm
72 
73 #endif // FUNCTIONS_P_H
74 
75 // vim: et sw=4:
KAlarm::Private::instance
static Private * instance()
Definition: functions_p.h:40
QWidget
KAlarm::PrivateNewAlarmDlg::PrivateNewAlarmDlg
PrivateNewAlarmDlg()
Definition: functions_p.h:62
QObject
KAlarm::Private::startKMailMinimised
static bool startKMailMinimised()
Definition: functions.cpp:1845
KAlarm::PrivateNewAlarmDlg
Definition: functions_p.h:58
KAlarm::Private::cancelRtcWake
void cancelRtcWake()
Definition: functions.cpp:1402
KAlarm::Private::mMsgParent
QWidget * mMsgParent
Definition: functions_p.h:47
KAlarm::PrivateNewAlarmDlg::accept
void accept(EditAlarmDlg *)
Definition: functions.cpp:1263
KAlarm::Private::Private
Private(QObject *parent=0)
Definition: functions_p.h:38
EditAlarmDlg
Definition: editdlg.h:61
kalarm.h
KAlarm::Private
Definition: functions_p.h:34
KAlarm::Private::windowAdded
void windowAdded(WId)
Definition: functions.cpp:1892
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm

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

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