26 #include "timeperiod.h"
27 #include "timeselector.h"
33 class LateCancelSelector : public TQFrame
38 LateCancelSelector( bool allowHourMinute, TQWidget* parent, const char* name = 0);
40 void setMinutes( int Minutes, bool dateOnly, TimePeriod::Units defaultUnits);
41 void setDateOnly( bool dateOnly);
42 void showAutoClose( bool show);
43 bool isAutoClose() const;
44 void setAutoClose( bool autoClose);
45 bool isReadOnly() const { return mReadOnly; }
46 void setReadOnly( bool);
48 static TQString i18n_CancelIfLate();
49 static TQString i18n_n_CancelIfLate();
50 static TQString i18n_AutoCloseWin();
51 static TQString i18n_AutoCloseWinLC();
52 static TQString i18n_i_AutoCloseWinLC();
55 void slotToggled( bool);
59 TQWidgetStack* mStack;
60 TQFrame* mCheckboxFrame;
62 TQFrame* mTimeSelectorFrame;
63 TimeSelector* mTimeSelector;
|