From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/scrollview-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/scrollview-example.html') diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index a9d8d4a43..60802ccc2 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -250,7 +250,7 @@ public: vp_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( vp_options ); - vp_options->setCheckable( TRUE ); + vp_options->setCheckable( true ); menubar->insertItem( "&ScrollView", vp_options ); connect( vp_options, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doVPMenuItem(int)) ); @@ -269,13 +269,13 @@ public: vp = new TQScrollView(this); BigShrinker *bs = new BigShrinker(0);//(vp->viewport()); vp->addChild(bs); - bs->setAcceptDrops(TRUE); + bs->setAcceptDrops(true); TQObject::connect(bs, TQ_SIGNAL(clicked(int,int)), vp, TQ_SLOT(center(int,int))); } else { vp = new BigMatrix(this); if ( technique == 3 ) - vp->enableClipper(TRUE); + vp->enableClipper(true); srand(1); for (int i=0; i<30; i++) { TQMultiLineEdit *l = new TQMultiLineEdit(vp->viewport(),"First"); @@ -288,7 +288,7 @@ public: f_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( f_options ); - f_options->setCheckable( TRUE ); + f_options->setCheckable( true ); menubar->insertItem( "F&rame", f_options ); connect( f_options, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doFMenuItem(int)) ); @@ -305,7 +305,7 @@ public: f_options->insertSeparator(); lw_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( lw_options ); - lw_options->setCheckable( TRUE ); + lw_options->setCheckable( true ); for (int lw = 1; lw <= max_lw; lw++) { TQString str; str.sprintf("%d Pixels", lw); @@ -316,7 +316,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mlw_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( mlw_options ); - mlw_options->setCheckable( TRUE ); + mlw_options->setCheckable( true ); for (int mlw = 0; mlw <= max_mlw; mlw++) { TQString str; str.sprintf("%d Pixels", mlw); @@ -327,7 +327,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mw_options = new TQPopupMenu( menubar ); TQ_CHECK_PTR( mw_options ); - mw_options->setCheckable( TRUE ); + mw_options->setCheckable( true ); for (int mw = 0; mw <= max_mw; mw++) { TQString str; str.sprintf("%d Pixels", mw); -- cgit v1.2.3