From 78211642003f70797a5faa1767a5ab2f5f83606f Mon Sep 17 00:00:00 2001 From: hakan Date: Tue, 26 Mar 2002 19:05:31 +0000 Subject: Added shortcut buttons to set the start time --- (limited to 'core/pim/datebook/timepicker.h') diff --git a/core/pim/datebook/timepicker.h b/core/pim/datebook/timepicker.h new file mode 100644 index 0000000..0acadcb --- a/dev/null +++ b/core/pim/datebook/timepicker.h @@ -0,0 +1,32 @@ +#ifndef TIMEPICKER_H +#define TIMEPICKER_H + +#include +#include +#include "clickablelabel.h" +#include + +class TimePicker: public QWidget { + Q_OBJECT + + public: + TimePicker(QWidget* parent = 0, const char* name = 0, + WFlags fl = 0); + void setHour(int h); + void setMinute(int m); + + private: + QValueList hourLst; + QValueList minuteLst; + QTime tm; + + private slots: + void slotHour(bool b); + void slotMinute(bool b); + + signals: + void timeChanged(const QTime &); +}; + + +#endif -- cgit v0.9.0.2