diff options
Diffstat (limited to 'doc/man/man3/tqdateedit.3qt')
-rw-r--r-- | doc/man/man3/tqdateedit.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqdateedit.3qt b/doc/man/man3/tqdateedit.3qt index 46196005d..4ec068a9c 100644 --- a/doc/man/man3/tqdateedit.3qt +++ b/doc/man/man3/tqdateedit.3qt @@ -133,11 +133,11 @@ TQDateEdit allows the user to edit dates by using the keyboard or the arrow keys .br dateEdit->setOrder( TQDateEdit::MDY ); .br - dateEdit->setAutoAdvance( TRUE ); + dateEdit->setAutoAdvance( true ); .br .fi .PP -Here we've created a new TQDateEdit object initialised with today's date and restricted the valid date range to today plus or minus 365 days. We've set the order to month, day, year. If the auto advance property is TRUE (as we've set it here) when the user completes a section of the date, e.g. enters two digits for the month, they are automatically taken to the next section. +Here we've created a new TQDateEdit object initialised with today's date and restricted the valid date range to today plus or minus 365 days. We've set the order to month, day, year. If the auto advance property is true (as we've set it here) when the user completes a section of the date, e.g. enters two digits for the month, they are automatically taken to the next section. .PP The maximum and minimum values for a date value in the date editor default to the maximum and minimum values for a TQDate. You can change this by calling setMinValue(), setMaxValue() or setRange(). .PP @@ -173,7 +173,7 @@ The date editor is initialized with \fIdate\fR. .SH "TQDateEdit::~TQDateEdit ()" Destroys the object and frees any allocated resources. .SH "bool TQDateEdit::autoAdvance () const" -Returns TRUE if the editor automatically advances to the next section; otherwise returns FALSE. See the "autoAdvance" property for details. +Returns true if the editor automatically advances to the next section; otherwise returns false. See the "autoAdvance" property for details. .SH "TQDate TQDateEdit::date () const" Returns the editor's date value. See the "date" property for details. .SH "void TQDateEdit::fix ()\fC [virtual protected]\fR" @@ -230,7 +230,7 @@ This signal is emitted whenever the editor's value changes. The \fIdate\fR param .SH "bool autoAdvance" This property holds whether the editor automatically advances to the next section. .PP -If autoAdvance is TRUE, the editor will automatically advance focus to the next date section if a user has completed a section. The default is FALSE. +If autoAdvance is true, the editor will automatically advance focus to the next date section if a user has completed a section. The default is false. .PP Set this property's value with setAutoAdvance() and get this property's value with autoAdvance(). .SH "TQDate date" |