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

kalarm

  • sources
  • kde-4.14
  • kdepim
  • kalarm
kalarmiface.h
Go to the documentation of this file.
1 /*
2  * kalarmiface.h - D-Bus interface to KAlarm
3  * Program: kalarm
4  * Copyright © 2004-2009 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 KALARMIFACE_H
22 #define KALARMIFACE_H
23 
30 class KAlarmIface
31 {
32  public:
50  enum Flags
51  {
52  REPEAT_AT_LOGIN = 0x01, // repeat alarm at every login
53  BEEP = 0x02, // sound audible beep when alarm is displayed
54  REPEAT_SOUND = 0x08, // repeat sound file while alarm is displayed
55  CONFIRM_ACK = 0x04, // closing the alarm message window requires confirmation prompt
56  AUTO_CLOSE = 0x10, // auto-close alarm window after late-cancel period
57  EMAIL_BCC = 0x20, // blind copy the email to the user
58  DISABLED = 0x40, // alarm is currently disabled
59  SCRIPT = 0x80, // command is a script, not a shell command line
60  EXEC_IN_XTERM = 0x100, // execute command alarm in terminal window
61  SPEAK = 0x200, // speak the alarm message when it is displayed
62  SHOW_IN_KORG = 0x400, // show the alarm as an event in KOrganizer
63  DISPLAY_COMMAND = 0x800, // display command output in alarm window
64  EXCL_HOLIDAYS = 0x1000, // don't trigger alarm on holidays
65  WORK_TIME_ONLY = 0x2000 // trigger only during working hours
66  };
74  enum RecurType
75  {
76  MINUTELY = 1, // the repeat interval is measured in minutes
77  DAILY = 2, // the repeat interval is measured in days
78  WEEKLY = 3, // the repeat interval is measured in weeks
79  MONTHLY = 4, // the repeat interval is measured in months
80  YEARLY = 5 // the repeat interval is measured in years
81  };
87  enum AlarmType
88  {
89  DISPLAY = 1, // display alarm
90  COMMAND = 2, // command alarm
91  EMAIL = 3, // email alarm
92  AUDIO = 4 // audio alarm
93  };
94 };
95 
96 #endif // KALARMIFACE_H
97 
98 // vim: et sw=4:
KAlarmIface::CONFIRM_ACK
Definition: kalarmiface.h:55
KAlarmIface::DISPLAY
Definition: kalarmiface.h:89
KAlarmIface::COMMAND
Definition: kalarmiface.h:90
KAlarmIface::EXCL_HOLIDAYS
Definition: kalarmiface.h:64
KAlarmIface::DAILY
Definition: kalarmiface.h:77
KAlarmIface::AlarmType
AlarmType
Values for the type parameter of "editNew()" D-Bus call.
Definition: kalarmiface.h:87
KAlarmIface::MINUTELY
Definition: kalarmiface.h:76
KAlarmIface::EMAIL
Definition: kalarmiface.h:91
KAlarmIface::REPEAT_AT_LOGIN
Definition: kalarmiface.h:52
KAlarmIface::SCRIPT
Definition: kalarmiface.h:59
KAlarmIface::AUDIO
Definition: kalarmiface.h:92
KAlarmIface
KAlarmIface provides a D-Bus interface for other applications to request KAlarm actions.
Definition: kalarmiface.h:30
KAlarmIface::WEEKLY
Definition: kalarmiface.h:78
KAlarmIface::Flags
Flags
Bit values for the flags parameter of "scheduleXxxx()" D-Bus calls.
Definition: kalarmiface.h:50
KAlarmIface::DISABLED
Definition: kalarmiface.h:58
KAlarmIface::SHOW_IN_KORG
Definition: kalarmiface.h:62
KAlarmIface::DISPLAY_COMMAND
Definition: kalarmiface.h:63
KAlarmIface::MONTHLY
Definition: kalarmiface.h:79
KAlarmIface::AUTO_CLOSE
Definition: kalarmiface.h:56
KAlarmIface::BEEP
Definition: kalarmiface.h:53
KAlarmIface::SPEAK
Definition: kalarmiface.h:61
KAlarmIface::EXEC_IN_XTERM
Definition: kalarmiface.h:60
KAlarmIface::EMAIL_BCC
Definition: kalarmiface.h:57
KAlarmIface::REPEAT_SOUND
Definition: kalarmiface.h:54
KAlarmIface::YEARLY
Definition: kalarmiface.h:80
KAlarmIface::WORK_TIME_ONLY
Definition: kalarmiface.h:65
KAlarmIface::RecurType
RecurType
Values for the repeatType parameter of "scheduleXxxx()" D-Bus calls.
Definition: kalarmiface.h:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 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
  • 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