summaryrefslogtreecommitdiff
path: root/libopie/otimepicker.h
Unidiff
Diffstat (limited to 'libopie/otimepicker.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otimepicker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/otimepicker.h b/libopie/otimepicker.h
index 3de6698..825e2d6 100644
--- a/libopie/otimepicker.h
+++ b/libopie/otimepicker.h
@@ -1,51 +1,51 @@
1#ifndef OTIMEPICKER_H 1#ifndef OTIMEPICKER_H
2#define OTIMEPICKER_H 2#define OTIMEPICKER_H
3 3
4#include <qwidget.h> 4#include <qwidget.h>
5#include <qvaluelist.h> 5#include <qvaluelist.h>
6#include <qdatetime.h> 6#include <qdatetime.h>
7#include <qdialog.h> 7#include <qdialog.h>
8 8
9#include <opie/oclickablelabel.h> 9#include <opie/oclickablelabel.h>
10#include <opie/otimepickerbase.h> 10#include "otimepickerbase.h"
11 11
12class OTimePicker: public QWidget { 12class OTimePicker: public QWidget {
13 Q_OBJECT 13 Q_OBJECT
14 14
15 public: 15 public:
16 OTimePicker(QWidget* parent = 0, const char* name = 0, 16 OTimePicker(QWidget* parent = 0, const char* name = 0,
17 WFlags fl = 0); 17 WFlags fl = 0);
18 void setHour(int h); 18 void setHour(int h);
19 void setMinute(int m); 19 void setMinute(int m);
20 20
21 private: 21 private:
22 QValueList<OClickableLabel *> hourLst; 22 QValueList<OClickableLabel *> hourLst;
23 QValueList<OClickableLabel *> minuteLst; 23 QValueList<OClickableLabel *> minuteLst;
24 QTime tm; 24 QTime tm;
25 25
26 private slots: 26 private slots:
27 void slotHour(bool b); 27 void slotHour(bool b);
28 void slotMinute(bool b); 28 void slotMinute(bool b);
29 29
30 signals: 30 signals:
31 void timeChanged(const QTime &); 31 void timeChanged(const QTime &);
32}; 32};
33 33
34class OTimePickerDialog: public OTimePickerDialogBase { 34class OTimePickerDialog: public OTimePickerDialogBase {
35 Q_OBJECT 35 Q_OBJECT
36 36
37 public: 37 public:
38 OTimePickerDialog ( QWidget* parent = 0, const char* name = NULL, WFlags fl = 0 ); 38 OTimePickerDialog ( QWidget* parent = 0, const char* name = NULL, WFlags fl = 0 );
39 ~OTimePickerDialog() { }; 39 ~OTimePickerDialog() { };
40 40
41 QTime& time(); 41 QTime& time();
42 42
43 public slots: 43 public slots:
44 void setTime( const QTime& time ); 44 void setTime( const QTime& time );
45 void setHour( const QString& hour ); 45 void setHour( const QString& hour );
46 void setMinute( const QString& minute ); 46 void setMinute( const QString& minute );
47 47
48 private: 48 private:
49 QTime m_time; 49 QTime m_time;
50}; 50};
51#endif 51#endif