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

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
  • sensors
date.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2003 by Hans Karlsson *
3  * karlsson.h@home.se *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 #ifndef DATESENSOR_H
11 #define DATESENSOR_H
12 
13 #include <KDatePicker>
14 
15 #include "sensor.h"
16 #include "sensorparams.h"
17 
18 class DatePicker : public QWidget
19 {
20 public:
21  DatePicker(QWidget*);
22 private:
23  KDatePicker *picker;
24  void keyReleaseEvent(QKeyEvent *e);
25 };
26 
27 class DateSensor : public Sensor
28 {
29  Q_OBJECT
30 public:
31  DateSensor(int interval);
32  ~DateSensor();
33 
34  void toggleCalendar(QMouseEvent *ev);
35  void mousePressEvent(QMouseEvent *ev);
36  void update();
37 
38 protected slots:
39  void slotCalendarDeleted();
40 
41 private:
42  bool hidden;
43  DatePicker* cal;
44 
45 };
46 
47 #endif // SENSOR_H
sensorparams.h
DatePicker
Definition: date.h:18
DateSensor::update
void update()
Definition: date.cpp:24
DateSensor::slotCalendarDeleted
void slotCalendarDeleted()
Definition: date.cpp:44
QWidget
DateSensor::~DateSensor
~DateSensor()
Definition: date.cpp:21
Sensor
Definition: sensor.h:17
sensor.h
DateSensor::mousePressEvent
void mousePressEvent(QMouseEvent *ev)
Definition: date.cpp:112
DateSensor::toggleCalendar
void toggleCalendar(QMouseEvent *ev)
Definition: date.cpp:75
DateSensor
Definition: date.h:27
DateSensor::DateSensor
DateSensor(int interval)
Definition: date.cpp:17
DatePicker::DatePicker
DatePicker(QWidget *)
Definition: date.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

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