summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designerapp.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:59:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-10 12:35:00 +0900
commit5198c9d3ac02aa9c7949f49e3cf374f683facb18 (patch)
tree6b2429d827560c3abd4ae62a941d84ceebaa7a3b /kdevdesigner/designer/designerapp.cpp
parent8c206b21c4f83d07c23d59989988291cfee38009 (diff)
downloadtdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.tar.gz
tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/designerapp.cpp')
-rw-r--r--kdevdesigner/designer/designerapp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/designerapp.cpp b/kdevdesigner/designer/designerapp.cpp
index 22d1e531..8a96049a 100644
--- a/kdevdesigner/designer/designerapp.cpp
+++ b/kdevdesigner/designer/designerapp.cpp
@@ -72,7 +72,7 @@ TQSplashScreen *DesignerApplication::showSplash()
TQRect mainRect;
TQString keybase = settingsKey();
- bool show = config.readBoolEntry( keybase + "SplashScreen", TRUE );
+ bool show = config.readBoolEntry( keybase + "SplashScreen", true );
mainRect.setX( config.readNumEntry( keybase + "Geometries/MainwindowX", 0 ) );
mainRect.setY( config.readNumEntry( keybase + "Geometries/MainwindowY", 0 ) );
mainRect.setWidth( config.readNumEntry( keybase + "Geometries/MainwindowWidth", 500 ) );
@@ -151,7 +151,7 @@ bool DesignerApplication::winEventFilter( MSG *msg )
TQObjectList* l = MainWindow::self->queryList( "FormWindow" );
FormWindow* fw = (FormWindow*) l->first();
FormWindow* totop = 0;
- bool haveit = FALSE;
+ bool haveit = false;
while ( fw ) {
haveit = haveit || fw->fileName() == arg;
if ( haveit )
@@ -161,7 +161,7 @@ bool DesignerApplication::winEventFilter( MSG *msg )
}
if ( !haveit ) {
- FlashWindow( MainWindow::self->winId(), TRUE );
+ FlashWindow( MainWindow::self->winId(), true );
MainWindow::self->openFormWindow( arg );
} else if ( totop ) {
totop->setFocus();
@@ -169,7 +169,7 @@ bool DesignerApplication::winEventFilter( MSG *msg )
delete l;
}
}
- return TRUE;
+ return true;
}
return TQApplication::winEventFilter( msg );
}