21 #ifndef TIMESELECTOR_H
22 #define TIMESELECTOR_H
25 #include "timeperiod.h"
31 class TimeSelector : public TQFrame
36 TimeSelector( const TQString& selectText, const TQString& postfix, const TQString& selectWhatsThis,
37 const TQString& valueWhatsThis, bool allowHourMinute, TQWidget* parent, const char* name = 0);
38 bool isChecked() const;
39 void setChecked( bool on);
41 void setMinutes( int minutes, bool dateOnly, TimePeriod::Units defaultUnits);
42 void setReadOnly( bool);
43 void setDateOnly( bool dateOnly = true);
44 void setMaximum( int hourmin, int days);
45 void setFocusOnCount();
49 void valueChanged( int minutes);
52 void selectToggled( bool);
53 void periodChanged( int minutes);
|