diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-01 22:09:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-08 08:53:47 +0900 |
commit | c03a4800879ab62692e017e01c825ba12a421ad0 (patch) | |
tree | 57aeff4300eb9fa64d193569f56b2d98305b49a2 /examples/dragdrop/main.cpp | |
parent | 030b165ac197ce4c2eb62c7700dc4c10604637aa (diff) | |
download | tqt-c03a4800879ab62692e017e01c825ba12a421ad0.tar.gz tqt-c03a4800879ab62692e017e01c825ba12a421ad0.zip |
Replace TRUE/FALSE with boolean values true/false - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/dragdrop/main.cpp')
-rw-r--r-- | examples/dragdrop/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <tqlabel.h> #include <tqpixmap.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(); |