summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-03 15:55:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-08 17:13:22 +0900
commit2cab1f3059038ab001f5185c29f0791c77aeeba1 (patch)
treee294a699a78e0aef2969216fc8fc1378b83b0064 /lanbrowsing/kcmlisa
parentb2cb25ce7dde70c48747856d22dfac03f27033e1 (diff)
downloadtdenetwork-2cab1f30.tar.gz
tdenetwork-2cab1f30.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 89969dcb2142d91b295c8d18cde46e22ef118dce)
Diffstat (limited to 'lanbrowsing/kcmlisa')
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.cpp8
-rw-r--r--lanbrowsing/kcmlisa/kcmreslisa.cpp12
2 files changed, 10 insertions, 10 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp
index f449bf48..e3ffb86d 100644
--- a/lanbrowsing/kcmlisa/kcmlisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmlisa.cpp
@@ -190,14 +190,14 @@ void LisaSettings::load()
if (secondWait<0)
{
m_secondWait->setValue(300);
- m_secondScan->setChecked(FALSE);
- m_secondWait->setEnabled(FALSE);
+ m_secondScan->setChecked(false);
+ m_secondWait->setEnabled(false);
}
else
{
m_secondWait->setValue(secondWait*10);
- m_secondScan->setChecked(TRUE);
- m_secondWait->setEnabled(TRUE);
+ m_secondScan->setChecked(true);
+ m_secondWait->setEnabled(true);
}
m_deliverUnnamedHosts->setChecked(m_config.readNumEntry("DeliverUnnamedHosts",0));
diff --git a/lanbrowsing/kcmlisa/kcmreslisa.cpp b/lanbrowsing/kcmlisa/kcmreslisa.cpp
index 2a0ac748..2beb7460 100644
--- a/lanbrowsing/kcmlisa/kcmreslisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmreslisa.cpp
@@ -147,14 +147,14 @@ void ResLisaSettings::load()
if (secondWait<0)
{
m_secondWait->setValue(300);
- m_secondScan->setChecked(FALSE);
- m_secondWait->setEnabled(FALSE);
+ m_secondScan->setChecked(false);
+ m_secondWait->setEnabled(false);
}
else
{
m_secondWait->setValue(secondWait*10);
- m_secondScan->setChecked(TRUE);
- m_secondWait->setEnabled(TRUE);
+ m_secondScan->setChecked(true);
+ m_secondWait->setEnabled(true);
};
m_deliverUnnamedHosts->setChecked(m_config.readNumEntry("DeliverUnnamedHosts",0));
@@ -221,8 +221,8 @@ void ResLisaSettings::suggestSettings()
TQString netmask = nic->netmask;
m_allowedAddresses->setText(address+"/"+netmask+";");
m_secondWait->setValue(0);
- m_secondScan->setChecked(FALSE);
- m_secondWait->setEnabled(FALSE);
+ m_secondScan->setChecked(false);
+ m_secondWait->setEnabled(false);
m_firstWait->setValue(300);
m_maxPingsAtOnce->setValue(256);
m_updatePeriod->setValue(300);