summaryrefslogtreecommitdiffstats
path: root/examples/dragdrop/main.cpp
diff options
context:
space:
mode:
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 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();