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

korgac

  • sources
  • kde-4.12
  • kdepim
  • korgac
alarmdockwindow.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE reminder agent.
3 
4  Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (c) 2008-2009 Allen Winter <winter@kde.org>
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  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 #ifndef KORGAC_ALARMDOCKWINDOW_H
26 #define KORGAC_ALARMDOCKWINDOW_H
27 
28 #include <KStatusNotifierItem>
29 
30 #include <QAction>
31 #include <QIcon>
32 
33 class AlarmDockWindow : public KStatusNotifierItem
34 {
35  Q_OBJECT
36  public:
37  AlarmDockWindow();
38  virtual ~AlarmDockWindow();
39 
40  void enableAutostart( bool enabled );
41 
42  public slots:
43  void toggleAlarmsEnabled( bool checked );
44  void toggleAutostart( bool checked );
45  void slotUpdate( int reminders );
46 
47  signals:
48  void quitSignal();
49  void suspendAllSignal();
50  void dismissAllSignal();
51 
52  protected slots:
53  virtual void activate( const QPoint &pos );
54  void slotQuit();
55  void slotSuspendAll();
56  void slotDismissAll();
57 
58  private:
59  void changeSystrayIcon( bool alarmsEnabled );
60 
61  QIcon mIconDisabled;
62  QString mName;
63 
64  QAction *mAlarmsEnabled;
65  QAction *mAutostart;
66  QAction *mSuspendAll;
67  QAction *mDismissAll;
68 
69  bool mAutostartSet;
70 };
71 
72 #endif
AlarmDockWindow::slotSuspendAll
void slotSuspendAll()
Definition: alarmdockwindow.cpp:145
AlarmDockWindow::quitSignal
void quitSignal()
AlarmDockWindow::activate
virtual void activate(const QPoint &pos)
Definition: alarmdockwindow.cpp:162
AlarmDockWindow::slotUpdate
void slotUpdate(int reminders)
Definition: alarmdockwindow.cpp:115
AlarmDockWindow::enableAutostart
void enableAutostart(bool enabled)
Definition: alarmdockwindow.cpp:155
AlarmDockWindow::AlarmDockWindow
AlarmDockWindow()
Definition: alarmdockwindow.cpp:41
AlarmDockWindow::toggleAutostart
void toggleAutostart(bool checked)
Definition: alarmdockwindow.cpp:138
AlarmDockWindow::suspendAllSignal
void suspendAllSignal()
AlarmDockWindow
Definition: alarmdockwindow.h:33
AlarmDockWindow::slotQuit
void slotQuit()
Definition: alarmdockwindow.cpp:168
AlarmDockWindow::slotDismissAll
void slotDismissAll()
Definition: alarmdockwindow.cpp:150
KStatusNotifierItem
AlarmDockWindow::toggleAlarmsEnabled
void toggleAlarmsEnabled(bool checked)
Definition: alarmdockwindow.cpp:129
AlarmDockWindow::dismissAllSignal
void dismissAllSignal()
AlarmDockWindow::~AlarmDockWindow
virtual ~AlarmDockWindow()
Definition: alarmdockwindow.cpp:111
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korgac

Skip menu "korgac"
  • Main Page
  • Namespace List
  • 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