summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designerapp.cpp
diff options
context:
space:
mode:
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 );
}