summaryrefslogtreecommitdiffstats
path: root/doc/object.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/object.doc')
-rw-r--r--doc/object.doc20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/object.doc b/doc/object.doc
index 02261eb1d..676aa0374 100644
--- a/doc/object.doc
+++ b/doc/object.doc
@@ -267,8 +267,8 @@ function calls are equivalent:
\code
// TQButton *b and TQObject *o point to the same button
- b->setDown( TRUE );
- o->setProperty( "down", TRUE );
+ b->setDown( true );
+ o->setProperty( "down", true );
\endcode
Equivalent, that is, except that the first is faster, and provides
@@ -368,19 +368,19 @@ state (which may have changed since initialization). The function
must return void and take no arguments.
\c DESIGNABLE declares whether this property is suitable for
-modification by a GUI design tool. The default is \c TRUE for
-writable properties; otherwise \c FALSE. Instead of \c TRUE or \c
-FALSE, you can specify a boolean member function.
+modification by a GUI design tool. The default is \c true for
+writable properties; otherwise \c false. Instead of \c true or \c
+false, you can specify a boolean member function.
\c SCRIPTABLE declares whether this property is suited for access by a
-scripting engine. The default is \c TRUE. Instead of \c TRUE or \c FALSE,
+scripting engine. The default is \c true. Instead of \c true or \c false,
you can specify a boolean member function.
\c STORED 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 \c TRUE. Technically superfluous
+properties. The default value is \c true. Technically superfluous
properties (like TQPoint pos if TQRect geometry is already a property)
-define this to be \c FALSE.
+define this to be \c false.
Connected to the property system is an additional macro, "TQ_CLASSINFO",
@@ -507,12 +507,12 @@ contain:
if ( ke->key() == Key_Tab ) {
// special tab handling here
ke->accept();
- return TRUE;
+ return true;
}
} else if ( evt->type() >= TQEvent::User ) {
TQCustomEvent *ce = (TQCustomEvent*) evt;
// custom event handling here
- return TRUE;
+ return true;
}
return TQWidget::event( evt );
}