1
/***********************************************************************
5
***********************************************************************/
11
#include <qcombobox.h>
12
#include <qdatetime.h>
15
*@author Beppe Grimaldi
21
class KDateCombo : public QComboBox {
25
KDateCombo(QWidget *parent=0, const char *name=0);
26
KDateCombo(const QDate & date, QWidget *parent=0, const char *name=0);
29
QDate & getDate(QDate *currentDate);
30
bool setDate(const QDate & newDate);
33
KPopupFrame * popupFrame;
34
KDatePicker * datePicker;
36
void initObject(const QDate & date, QWidget *parent, const char *name);
38
QString date2String(const QDate &);
39
QDate & string2Date(const QString &, QDate * );
42
bool eventFilter (QObject*, QEvent*);
43
virtual void mousePressEvent (QMouseEvent * e);
46
void dateEnteredEvent(QDate d=QDate());