summaryrefslogtreecommitdiffstats
path: root/examples/dragdrop/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-01 22:09:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-08 09:01:42 +0900
commit81ade129093a279e6537db25710583fd2bba9427 (patch)
treea210834cbccc8aee2e9de7a8b7f41e1d31e2ced0 /examples/dragdrop/main.cpp
parent35ced32e331ee29fda1642616c803637952f5b22 (diff)
downloadtqt-81ade129.tar.gz
tqt-81ade129.zip
Replace TRUE/FALSE with boolean values true/false - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c03a4800879ab62692e017e01c825ba12a421ad0)
Diffstat (limited to 'examples/dragdrop/main.cpp')
-rw-r--r--examples/dragdrop/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/dragdrop/main.cpp b/examples/dragdrop/main.cpp
index 3a618b60f..d06bc5867 100644
--- a/examples/dragdrop/main.cpp
+++ b/examples/dragdrop/main.cpp
@@ -17,7 +17,7 @@
#include <ntqlabel.h>
#include <ntqpixmap.h>
-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();