diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qdateedit.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qdateedit.html')
| -rw-r--r-- | doc/html/qdateedit.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/qdateedit.html b/doc/html/qdateedit.html index b4f59d734..4446f6ed3 100644 --- a/doc/html/qdateedit.html +++ b/doc/html/qdateedit.html @@ -102,13 +102,13 @@ with a date, e.g. dateEdit-><a href="#setRange">setRange</a>( TQDate::<a href="qdate.html#currentDate">currentDate</a>().addDays( -365 ), TQDate::<a href="qdate.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 @@ -151,7 +151,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="qdateedit.html#autoAdvance-prop">"autoAdvance"</a> property for details. <h3 class=fn><a href="qdate.html">TQDate</a> <a name="date"></a>TQDateEdit::date () const </h3><p>Returns the editor's date value. @@ -245,9 +245,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="qdate.html">TQDate</a> <a name="date-prop"></a>date</h3> |
