summaryrefslogtreecommitdiffstats
path: root/ksplashml/wndmain.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 18:08:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-27 10:24:24 +0900
commit0a439ac80bdf6ffb9cac104ad3098a321ee0403c (patch)
tree737edb6e89138f645d20bab7378e1ba90df09863 /ksplashml/wndmain.cpp
parent0ba4723b7fad260e7bfe1848d0d16329779b090f (diff)
downloadtdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.tar.gz
tdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksplashml/wndmain.cpp')
-rw-r--r--ksplashml/wndmain.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp
index f8e7a4907..eb0a1472a 100644
--- a/ksplashml/wndmain.cpp
+++ b/ksplashml/wndmain.cpp
@@ -55,7 +55,7 @@ KSplash::KSplash(const char *name)
mCurrentAction = mActionList.first();
config->setGroup( "General" );
- if ( config->readBoolEntry( "CloseOnClick", TRUE ) )
+ if ( config->readBoolEntry( "CloseOnClick", true ) )
mThemeEngine->installEventFilter( this );
connect( mThemeEngine, TQ_SIGNAL(destroyed()), this, TQ_SLOT(close()) );
@@ -75,7 +75,7 @@ KSplash::KSplash(const char *name)
{
close_timer = new TQTimer( this );
connect( close_timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( close() ) );
- close_timer->start( 60000, TRUE );
+ close_timer->start( 60000, true );
}
}
@@ -206,7 +206,7 @@ void KSplash::upAndRunning( TQString s )
firstTime = false;
}
if ( close_timer->isActive() )
- close_timer->start( 60000, TRUE );
+ close_timer->start( 60000, true );
if( s == "dcop" )
{
@@ -427,8 +427,8 @@ bool KSplash::eventFilter( TQObject *o, TQEvent *e )
if ( ( e->type() == TQEvent::MouseButtonRelease ) && ( o == mThemeEngine ) )
{
TQTimer::singleShot( 0, this, TQ_SLOT(close()));
- return TRUE;
+ return true;
}
else
- return FALSE;
+ return false;
}