summaryrefslogtreecommitdiffstats
path: root/doc/html/properties.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/properties.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-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/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 51ab9e86f..41ebe0210 100644
--- a/doc/html/properties.html
+++ b/doc/html/properties.html
@@ -68,8 +68,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
@@ -154,16 +154,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="tqpoint.html">TQPoint</a> pos if <a href="tqrect.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: