timeperiod.h
107 void setWhatsThis(const TQString& units, const TQString& dayWeek, const TQString& hourMin = TQString());
TimePeriod(bool allowMinute, TQWidget *parent, const char *name=0)
Constructor.
Definition: timeperiod.cpp:53
void valueChanged(int minutes)
This signal is emitted whenever the value held in the widget changes.
void setSelectOnStep(bool select)
Sets whether the editor text is to be selected whenever spin buttons are clicked. ...
Definition: timeperiod.cpp:112
void setMinutes(int minutes, bool dateOnly, Units defaultUnits)
Initialises the time period value.
Definition: timeperiod.cpp:170
virtual void setReadOnly(bool readOnly)
Sets whether the widget is read-only for the user.
Definition: timeperiod.cpp:97
void setDateOnly(bool dateOnly)
Enables or disables minutes and hours/minutes units in the combo box.
Definition: timeperiod.h:92
int minutes() const
Gets the entered time period expressed in minutes.
Definition: timeperiod.cpp:151
void setWhatsThis(const TQString &units, const TQString &dayWeek, const TQString &hourMin=TQString())
Sets separate WhatsThis texts for the count spin boxes and the units combo box.
Definition: timeperiod.cpp:379
void setMaximum(int hourmin, int days)
Sets the maximum values for the minutes and hours/minutes, and days/weeks spin boxes.
Definition: timeperiod.cpp:130