From c03a4800879ab62692e017e01c825ba12a421ad0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 1 Jul 2025 22:09:14 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 2 Signed-off-by: Michele Calgaro --- examples/dragdrop/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/dragdrop/main.cpp') diff --git a/examples/dragdrop/main.cpp b/examples/dragdrop/main.cpp index 661c8a52d..c17614c1a 100644 --- a/examples/dragdrop/main.cpp +++ b/examples/dragdrop/main.cpp @@ -17,7 +17,7 @@ #include #include -static void addStuff( TQWidget * parent, bool image, bool secret = FALSE ) +static void addStuff( TQWidget * parent, bool image, bool secret = false ) { TQVBoxLayout * tll = new TQVBoxLayout( parent, 10 ); DropSite * d = new DropSite( parent ); @@ -54,17 +54,17 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); TQWidget mw; - addStuff( &mw, TRUE ); + addStuff( &mw, true ); mw.setCaption( "TQt Example - Drag and Drop" ); mw.show(); TQWidget mw2; - addStuff( &mw2, FALSE ); + addStuff( &mw2, false ); mw2.setCaption( "TQt Example - Drag and Drop" ); mw2.show(); TQWidget mw3; - addStuff( &mw3, TRUE, TRUE ); + addStuff( &mw3, true, true ); mw3.setCaption( "TQt Example - Drag and Drop" ); mw3.show(); -- cgit v1.2.3