summaryrefslogtreecommitdiffstats
path: root/src/importprofiledialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-22 14:28:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-23 10:07:10 +0900
commit39876d710881d647fd0d755d31b620a7214cf9ff (patch)
tree0affcc87388c3f41ff8a5013910f9e35cd0da0a9 /src/importprofiledialog.cpp
parentf45740dc476004d43e63d94b746239e77dfef19e (diff)
downloadkvpnc-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/importprofiledialog.cpp')
-rw-r--r--src/importprofiledialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/importprofiledialog.cpp b/src/importprofiledialog.cpp
index 1b4640c..4fe5784 100644
--- a/src/importprofiledialog.cpp
+++ b/src/importprofiledialog.cpp
@@ -179,7 +179,7 @@ void ImportProfileDialog::canAccept()
bool useApplicationVersion = false;
acc->setUseApplicationVersion( useApplicationVersion );
- bool enableBackup = config.readBoolEntry( "EnableBackup" , FALSE );
+ bool enableBackup = config.readBoolEntry( "EnableBackup" , false );
TQString BackupServer = config.readEntry( "BackupServer", "" );
TQString GroupName = config.readEntry( "GroupName" , "" );
@@ -208,7 +208,7 @@ void ImportProfileDialog::canAccept()
acc->setNtDomainName( NtDomain );
}
- bool enableMSLogon = config.readBoolEntry( "EnableMSLogon", FALSE );
+ bool enableMSLogon = config.readBoolEntry( "EnableMSLogon", false );
bool useNtDomainName = false;
if ( enableMSLogon && !NtDomain.isEmpty() )
@@ -223,7 +223,7 @@ void ImportProfileDialog::canAccept()
TQString CertSubjectName = config.readEntry( "CertSubjectName", "" );
TQString CertSerialHash = config.readEntry( "CertSerialHash", "" );
// bool SendCertChain = config.readBoolEntry( "SendCertChain" , "" );
- // bool VerifyCertDN = config.readBoolEntry( "VerifyCertDN", FALSE );
+ // bool VerifyCertDN = config.readBoolEntry( "VerifyCertDN", false );
/*
0 = default, none
@@ -314,10 +314,10 @@ void ImportProfileDialog::canAccept()
}
- // bool ForceKeepAlives = config.readBoolEntry( "ForceKeepAlives", FALSE );
+ // bool ForceKeepAlives = config.readBoolEntry( "ForceKeepAlives", false );
- // bool EnableLocalLAN = config.readBoolEntry( "EnableLocalLAN", FALSE ); // nur auslesen aber immer aus :)
- // bool EnableSplitDNS = config.readBoolEntry( "EnableSplitDNS", FALSE );
+ // bool EnableLocalLAN = config.readBoolEntry( "EnableLocalLAN", false ); // nur auslesen aber immer aus :)
+ // bool EnableSplitDNS = config.readBoolEntry( "EnableSplitDNS", false );
if (useUdp == false)
@@ -427,10 +427,10 @@ void ImportProfileDialog::canAccept()
// std::cout << "decoded userpasswd: " << userpasswd << std::endl;
// std::cout << "decoded grouppasswd: " << grouppasswd << std::endl;
- bool saveUserPassword = config.readBoolEntry( "SaveUserPassword", FALSE );
+ bool saveUserPassword = config.readBoolEntry( "SaveUserPassword", false );
if (saveUserPassword == false)
- config.readBoolEntry( "!SaveUserPassword", FALSE );
+ config.readBoolEntry( "!SaveUserPassword", false );
if ( UserPassword.isEmpty() && userpasswd.isEmpty() )
saveUserPassword = false;