21 #ifndef KDATEPICKERPOPUP_H
22 #define KDATEPICKERPOPUP_H
24 #include <tqdatetime.h>
25 #include <tqpopupmenu.h>
27 #include <tdemacros.h>
28 #include <kdatepicker.h>
50 enum { NoDate = 1, DatePicker = 2, Words = 4 };
60 KDatePickerPopup( int items = DatePicker, const TQDate &date = TQDate::currentDate(),
61 TQWidget *parent = 0, const char *name = 0 );
67 KDatePicker *datePicker() const;
69 void setDate( const TQDate &date );
75 void setItems( int items = 1 );
78 int items() const { return mItems; }
89 void slotDateChanged ( TQDate );
100 KDatePicker *mDatePicker;
|