summaryrefslogtreecommitdiffstats
path: root/doc/html/xform-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/xform-example.html')
-rw-r--r--doc/html/xform-example.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html
index 306d8547f..8a038ddbe 100644
--- a/doc/html/xform-example.html
+++ b/doc/html/xform-example.html
@@ -202,7 +202,7 @@ private:
bg-&gt;<a href="ntqbuttongroup.html#insert">insert</a>(rb_pic,2);
rb_txt-&gt;<a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Text") );
rb_img-&gt;<a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Image") );
-<a name="x1249"></a> rb_img-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE);
+<a name="x1249"></a> rb_img-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(true);
rb_pic-&gt;<a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Picture") );
<a name="x1221"></a> <a href="ntqobject.html#connect">connect</a>( bg, TQ_SIGNAL(<a href="ntqbuttongroup.html#clicked">clicked</a>(int)), TQ_SLOT(changeMode(int)) );
@@ -319,13 +319,13 @@ void <a name="f403"></a>XFormControl::changeMode(int m)
newMtx();
if ( mode == Text ) {
<a name="x1277"></a> optionals-&gt;<a href="ntqwidgetstack.html#raiseWidget">raiseWidget</a>(0);
- rb_txt-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_txt-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(true);
} else {
optionals-&gt;<a href="ntqwidgetstack.html#raiseWidget">raiseWidget</a>(1);
if ( mode == Image )
- rb_img-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_img-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(true);
else
- rb_pic-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_pic-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>(true);
}
<a name="x1217"></a> tqApp-&gt;<a href="ntqapplication.html#flushX">flushX</a>();
}
@@ -487,20 +487,20 @@ private:
void <a name="f395"></a>XFormCenter::newMode( int m )
{
- static bool first_i = TRUE;
- static bool first_p = TRUE;
+ static bool first_i = true;
+ static bool first_p = true;
if ( sx-&gt;mode() == m )
return;
if ( m == Image &amp;&amp; first_i ) {
- first_i = FALSE;
+ first_i = false;
<a href="ntqpixmap.html">TQPixmap</a> pm;
<a name="x1247"></a> if ( pm.<a href="ntqpixmap.html#load">load</a>( "image.any" ) )
sx-&gt;setPixmap( pm );
return;
}
if ( m == Picture &amp;&amp; first_p ) {
- first_p = FALSE;
+ first_p = false;
<a href="ntqpicture.html">TQPicture</a> p;
<a name="x1244"></a> if (p.<a href="ntqpicture.html#load">load</a>( "picture.any" ))
sx-&gt;setPicture( p );