diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-25 18:08:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-27 10:26:17 +0900 |
| commit | 7f36db4704fe1e47683ecc8e07654b4762edd725 (patch) | |
| tree | efd584e0370eaaf5540ecbd6e588f4012a212900 /ksplashml/wndmain.cpp | |
| parent | ecaede25a924ea84ed48a164299a9d96a7976b1f (diff) | |
| download | tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.tar.gz tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
Diffstat (limited to 'ksplashml/wndmain.cpp')
| -rw-r--r-- | ksplashml/wndmain.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp index 3c07e5191..dddd76c9b 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; } |
