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:24:24 +0900 |
commit | 0a439ac80bdf6ffb9cac104ad3098a321ee0403c (patch) | |
tree | 737edb6e89138f645d20bab7378e1ba90df09863 /ksplashml | |
parent | 0ba4723b7fad260e7bfe1848d0d16329779b090f (diff) | |
download | tdebase-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')
-rw-r--r-- | ksplashml/kcmksplash/installer.h | 2 | ||||
-rw-r--r-- | ksplashml/themeengine/default/themelegacy.cpp | 2 | ||||
-rw-r--r-- | ksplashml/wndmain.cpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ksplashml/kcmksplash/installer.h b/ksplashml/kcmksplash/installer.h index 5ede31d1f..a88c3f632 100644 --- a/ksplashml/kcmksplash/installer.h +++ b/ksplashml/kcmksplash/installer.h @@ -26,7 +26,7 @@ class SplashInstaller : public TQWidget { TQ_OBJECT public: - SplashInstaller(TQWidget *parent=0, const char *aName=0, bool aInit=FALSE); + SplashInstaller(TQWidget *parent=0, const char *aName=0, bool aInit=false); ~SplashInstaller(); virtual void load(); diff --git a/ksplashml/themeengine/default/themelegacy.cpp b/ksplashml/themeengine/default/themelegacy.cpp index 86bdcc6a3..99a3145f0 100644 --- a/ksplashml/themeengine/default/themelegacy.cpp +++ b/ksplashml/themeengine/default/themelegacy.cpp @@ -158,7 +158,7 @@ void ThemeDefault::_initUi() mLabel->setPaletteForegroundColor( mLabelForeground ); mLabel->setPaletteBackgroundPixmap( blimage ); TQFont f(mLabel->font()); - f.setBold(TRUE); + f.setBold(true); mLabel->setFont(f); mProgressBar = new KProgress( mLabel ); 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; } |