diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqdateedit.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqdateedit.html')
-rw-r--r-- | doc/html/tqdateedit.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tqdateedit.html b/doc/html/tqdateedit.html index 1cdcf4577..8e9d7e0f0 100644 --- a/doc/html/tqdateedit.html +++ b/doc/html/tqdateedit.html @@ -101,13 +101,13 @@ with a date, e.g. dateEdit-><a href="#setRange">setRange</a>( TQDate::<a href="tqdate.html#currentDate">currentDate</a>().addDays( -365 ), TQDate::<a href="tqdate.html#currentDate">currentDate</a>().addDays( 365 ) ); dateEdit-><a href="#setOrder">setOrder</a>( TQDateEdit::<a href="#Order-enum">MDY</a> ); - dateEdit-><a href="#setAutoAdvance">setAutoAdvance</a>( TRUE ); + dateEdit-><a href="#setAutoAdvance">setAutoAdvance</a>( true ); </pre> <p> 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 +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. <p> The maximum and minimum values for a date value in the date editor @@ -150,7 +150,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Destroys the object and frees any allocated resources. <h3 class=fn>bool <a name="autoAdvance"></a>TQDateEdit::autoAdvance () const -</h3><p>Returns TRUE if the editor automatically advances to the next section; otherwise returns FALSE. +</h3><p>Returns true if the editor automatically advances to the next section; otherwise returns false. See the <a href="tqdateedit.html#autoAdvance-prop">"autoAdvance"</a> property for details. <h3 class=fn><a href="tqdate.html">TQDate</a> <a name="date"></a>TQDateEdit::date () const </h3><p>Returns the editor's date value. @@ -244,9 +244,9 @@ for this widget. <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="autoAdvance-prop"></a>autoAdvance</h3> <p>This property holds whether the editor automatically advances to the next section. -<p>If autoAdvance is TRUE, the editor will automatically advance +<p>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. +The default is false. <p>Set this property's value with <a href="#setAutoAdvance">setAutoAdvance</a>() and get this property's value with <a href="#autoAdvance">autoAdvance</a>(). <h3 class=fn><a href="tqdate.html">TQDate</a> <a name="date-prop"></a>date</h3> |