diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:28:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-23 10:07:10 +0900 |
commit | 39876d710881d647fd0d755d31b620a7214cf9ff (patch) | |
tree | 0affcc87388c3f41ff8a5013910f9e35cd0da0a9 /src/ciscocertificateenrollment.cpp | |
parent | f45740dc476004d43e63d94b746239e77dfef19e (diff) | |
download | kvpnc-r14.1.4.tar.gz kvpnc-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b1606f1200c833b5a0896d6bfe08db8db8c6d81e)
Diffstat (limited to 'src/ciscocertificateenrollment.cpp')
-rw-r--r-- | src/ciscocertificateenrollment.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ciscocertificateenrollment.cpp b/src/ciscocertificateenrollment.cpp index 7487ebd..dd50654 100644 --- a/src/ciscocertificateenrollment.cpp +++ b/src/ciscocertificateenrollment.cpp @@ -411,7 +411,7 @@ void CiscoCertificateEnrollment::next () ProgressDlg->resize ( ProgressDlg->width() +100,ProgressDlg->height() ); connect ( &CheckEnrollmentTimer, TQ_SIGNAL ( timeout() ), this, TQ_SLOT ( checkProgress() ) ); - CheckEnrollmentTimer.start ( 500, FALSE ); + CheckEnrollmentTimer.start ( 500, false ); // we stupid have to send the password :( // EnrollmentProcess->writeToStdin ( ChallengePassword + "\n" ); @@ -490,7 +490,7 @@ void CiscoCertificateEnrollment::enrollmentProcessFinished() ProgressDlg->progressBar()->setValue ( 100 ); GlobalConfig->appPointer->restoreOverrideCursor(); finishpage->SucessTextLabel->setText ( successmsg ); - finishButton() ->setEnabled ( TRUE ); + finishButton() ->setEnabled ( true ); finishButton() ->setFocus(); ProgressDlg->hide(); // delete ProgressDlg; @@ -553,7 +553,7 @@ void CiscoCertificateEnrollment::readFromStdout() GlobalConfig->appendLogEntry ( "[cisco_cert_mgr raw] "+line,GlobalConfig->debug ); - if ( line.find ( "Password:" , 0, FALSE ) > -1 ) + if ( line.find ( "Password:" , 0, false ) > -1 ) { if ( GlobalConfig->KvpncDebugLevel > 0 ) GlobalConfig->appendLogEntry ( i18n ( "Certificate enrollment: %1 was requested, send it..." ).arg ( i18n ( " challenge password" ) ),GlobalConfig->debug ); @@ -563,19 +563,19 @@ void CiscoCertificateEnrollment::readFromStdout() GlobalConfig->appendLogEntry ( i18n ( "Send challenge password: %1" ).arg ( ChallengePassword ), KVpncConfig::debug ); } - if ( line.find ( "Request Pending." , 0, FALSE ) > -1 ) + if ( line.find ( "Request Pending." , 0, false ) > -1 ) { if ( ProgressDlg!= 0 ) ProgressDlg->progressBar()->setValue ( 66 ); GlobalConfig->appendLogEntry ( i18n ( "Certificate enrollment: request sent to CA, waiting for grant..." ) ,GlobalConfig->info ); } - if ( line.find ( "contacting certificate authority." , 0, FALSE ) > -1 ) + if ( line.find ( "contacting certificate authority." , 0, false ) > -1 ) { GlobalConfig->appendLogEntry ( i18n ( "Certificate enrollment: contacting CA..." ) ,GlobalConfig->info ); } - if ( line.find ( "Success: certificate enrollment completed with no errors." , 0, FALSE ) > -1 ) + if ( line.find ( "Success: certificate enrollment completed with no errors." , 0, false ) > -1 ) { if ( ProgressDlg!= 0 ) ProgressDlg->progressBar()->setValue ( 99 ); @@ -602,7 +602,7 @@ void CiscoCertificateEnrollment::readFromStderr() if ( GlobalConfig->KvpncDebugLevel > 2 ) GlobalConfig->appendLogEntry ( "[cisco_cert_mgr err raw] "+line,GlobalConfig->debug ); - if ( line.find ( "certificate enrollment failed." , 0, FALSE ) > -1 ) + if ( line.find ( "certificate enrollment failed." , 0, false ) > -1 ) { KMessageBox::error ( 0, i18n ( "Certificate enrollment: enrollment has been failed." ), i18n ( "Enrollment failed" ) ); |