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 /kcontrol/keys/keyconfig.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 'kcontrol/keys/keyconfig.cpp')
| -rw-r--r-- | kcontrol/keys/keyconfig.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/keys/keyconfig.cpp b/kcontrol/keys/keyconfig.cpp index 90fa59f82..0b63fafe9 100644 --- a/kcontrol/keys/keyconfig.cpp +++ b/kcontrol/keys/keyconfig.cpp @@ -128,7 +128,7 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) TQWhatsThis::add(addBt, i18n("Click here to add a new key bindings scheme. You will be prompted for a name.")); removeBt = new TQPushButton( i18n("&Remove Scheme"), this ); - removeBt->setEnabled(FALSE); + removeBt->setEnabled(false); connect( removeBt, TQ_SIGNAL( clicked() ), TQ_SLOT( slotRemove() ) ); TQWhatsThis::add( removeBt, i18n("Click here to remove the selected key bindings scheme. You can not" " remove the standard system wide schemes, 'Current scheme' and 'TDE default'.") ); @@ -303,7 +303,7 @@ void KKeyModule::readScheme( int index ) do { - nameValid = TRUE; + nameValid = true; if ( ss.exec() ) { sName = ss.nameLine->text(); @@ -354,7 +354,7 @@ void KKeyModule::readScheme( int index ) } } else return; - } while ( nameValid == FALSE ); + } while ( nameValid == false ); disconnect( sList, TQ_SIGNAL( highlighted( int ) ), this, TQ_SLOT( slotPreviewScheme( int ) ) ); @@ -418,9 +418,9 @@ void KKeyModule::readScheme( int index ) if ( indx < nSysSchemes || (*sFileList->at(indx)).contains( "/global-" ) || (*sFileList->at(indx)).contains( "/app-" ) ) { - removeBt->setEnabled( FALSE ); + removeBt->setEnabled( false ); } else { - removeBt->setEnabled( TRUE ); + removeBt->setEnabled( true ); } }*/ |
