summaryrefslogtreecommitdiff
path: root/libopie/otimepicker.h
authorzecke <zecke>2004-02-19 02:05:37 (UTC)
committer zecke <zecke>2004-02-19 02:05:37 (UTC)
commit34e732b3490bcad2cb05a1252ef5f06b3feef9ad (patch) (side-by-side diff)
tree1114cf4d32dd0955550536f93b4054f76207c90e /libopie/otimepicker.h
parentf98fdfa6509fd1db5ea9ee834b5808ee12c8e697 (diff)
downloadopie-34e732b3490bcad2cb05a1252ef5f06b3feef9ad.zip
opie-34e732b3490bcad2cb05a1252ef5f06b3feef9ad.tar.gz
opie-34e732b3490bcad2cb05a1252ef5f06b3feef9ad.tar.bz2
Add notes for API fixes and BC stuff
Diffstat (limited to 'libopie/otimepicker.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otimepicker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie/otimepicker.h b/libopie/otimepicker.h
index 6a9e040..8df7d10 100644
--- a/libopie/otimepicker.h
+++ b/libopie/otimepicker.h
@@ -1,83 +1,86 @@
#ifndef OTIMEPICKER_H
#define OTIMEPICKER_H
#include <qwidget.h>
#include <qvaluelist.h>
#include <qdatetime.h>
#include <qdialog.h>
#include <opie/oclickablelabel.h>
#include "otimepickerbase.h"
/**
* A class to pick time. It uses clickable labels
* internally to allow a quick selection of a time.
* A time can be selected by two clicks of a user
*
* @short A widget to quickly pick a QTime
* @version 1.0
* @see QWidget
* @see QTime
* @author Hakan Ardo, Stefan Eilers
*/
class OTimePicker: public QWidget {
Q_OBJECT
public:
OTimePicker(QWidget* parent = 0, const char* name = 0,
WFlags fl = 0);
public slots:
void setHour(int h);
void setMinute(int m);
void setTime( const QTime& );
void setTime( int h, int m );
public:
QTime time()const;
private:
QValueList<OClickableLabel *> hourLst;
QValueList<OClickableLabel *> minuteLst;
QTime tm;
struct Private;
Private *d;
private slots:
void slotHour(bool b);
void slotMinute(bool b);
signals:
/**
* gets emitted when the time got changed by the user
*/
void timeChanged(const QTime &);
};
/**
*
* @short A small dialog to pick a time
* @version 1.0
* @author Stefan Eilers
*/
class OTimePickerDialog: public OTimePickerDialogBase {
Q_OBJECT
public:
OTimePickerDialog ( QWidget* parent = 0, const char* name = NULL, WFlags fl = 0 );
+ /**
+ * @todo make it non line! See KDE guide for BC
+ */
~OTimePickerDialog() { };
QTime time()const;
public slots:
void setTime( const QTime& time );
void setHour( const QString& hour );
void setMinute( const QString& minute );
private:
QTime m_time;
class Private;
Private* d;
};
#endif