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 f877b8346..c0bf9d896 100644
--- a/doc/html/xform-example.html
+++ b/doc/html/xform-example.html
@@ -201,7 +201,7 @@ private:
bg-&gt;<a href="tqbuttongroup.html#insert">insert</a>(rb_pic,2);
rb_txt-&gt;<a href="tqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Text") );
rb_img-&gt;<a href="tqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Image") );
-<a name="x1249"></a> rb_img-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(TRUE);
+<a name="x1249"></a> rb_img-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(true);
rb_pic-&gt;<a href="tqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Picture") );
<a name="x1221"></a> <a href="tqobject.html#connect">connect</a>( bg, TQ_SIGNAL(<a href="tqbuttongroup.html#clicked">clicked</a>(int)), TQ_SLOT(changeMode(int)) );
@@ -318,13 +318,13 @@ void <a name="f403"></a>XFormControl::changeMode(int m)
newMtx();
if ( mode == Text ) {
<a name="x1277"></a> optionals-&gt;<a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>(0);
- rb_txt-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_txt-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(true);
} else {
optionals-&gt;<a href="tqwidgetstack.html#raiseWidget">raiseWidget</a>(1);
if ( mode == Image )
- rb_img-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_img-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(true);
else
- rb_pic-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(TRUE);
+ rb_pic-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>(true);
}
<a name="x1217"></a> tqApp-&gt;<a href="tqapplication.html#flushX">flushX</a>();
}
@@ -486,20 +486,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="tqpixmap.html">TQPixmap</a> pm;
<a name="x1247"></a> if ( pm.<a href="tqpixmap.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="tqpicture.html">TQPicture</a> p;
<a name="x1244"></a> if (p.<a href="tqpicture.html#load">load</a>( "picture.any" ))
sx-&gt;setPicture( p );