summaryrefslogtreecommitdiffstats
path: root/doc/html/properties.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/properties.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-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/properties.html')
-rw-r--r--doc/html/properties.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/properties.html b/doc/html/properties.html
index 388fc48b1..ca19ac39f 100644
--- a/doc/html/properties.html
+++ b/doc/html/properties.html
@@ -69,8 +69,8 @@ from the class in which the property is defined.
function calls are equivalent:
<p> <pre>
// TQButton *b and TQObject *o point to the same button
- b-&gt;setDown( TRUE );
- o-&gt;setProperty( "down", TRUE );
+ b-&gt;setDown( true );
+ o-&gt;setProperty( "down", true );
</pre>
<p> Equivalent, that is, except that the first is faster, and provides
@@ -155,16 +155,16 @@ enum is best handled with <tt>TQ_SETS</tt>, rather than <tt>TQ_ENUMS</tt>.
state (which may have changed since initialization). The function
must return void and take no arguments.
<p> <tt>DESIGNABLE</tt> declares whether this property is suitable for
-modification by a GUI design tool. The default is <tt>TRUE</tt> for
-writable properties; otherwise <tt>FALSE</tt>. Instead of <tt>TRUE</tt> or <tt>FALSE</tt>, you can specify a boolean member function.
+modification by a GUI design tool. The default is <tt>true</tt> for
+writable properties; otherwise <tt>false</tt>. Instead of <tt>true</tt> or <tt>false</tt>, you can specify a boolean member function.
<p> <tt>SCRIPTABLE</tt> declares whether this property is suited for access by a
-scripting engine. The default is <tt>TRUE</tt>. Instead of <tt>TRUE</tt> or <tt>FALSE</tt>,
+scripting engine. The default is <tt>true</tt>. Instead of <tt>true</tt> or <tt>false</tt>,
you can specify a boolean member function.
<p> <tt>STORED</tt> declares whether the property's value must be remembered
when storing an object's state. Stored makes only sense for writable
-properties. The default value is <tt>TRUE</tt>. Technically superfluous
+properties. The default value is <tt>true</tt>. Technically superfluous
properties (like <a href="ntqpoint.html">TQPoint</a> pos if <a href="ntqrect.html">TQRect</a> geometry is already a property)
-define this to be <tt>FALSE</tt>.
+define this to be <tt>false</tt>.
<p> Connected to the property system is an additional macro, "TQ_CLASSINFO",
that can be used to attach additional name/value-pairs to a class'
meta object, for example: