summaryrefslogtreecommitdiffstats
path: root/kppp/ppplog.cpp
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 /kppp/ppplog.cpp
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 'kppp/ppplog.cpp')
-rw-r--r--kppp/ppplog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kppp/ppplog.cpp b/kppp/ppplog.cpp
index 590c15bc..92e17582 100644
--- a/kppp/ppplog.cpp
+++ b/kppp/ppplog.cpp
@@ -222,7 +222,7 @@ void PPPL_ShowLog() {
"Shall I turn it on now?"), TQString(), i18n("Restart pppd"), i18n("Do Not Restart"));
if(result == KMessageBox::Yes) {
- gpppdata.setPPPDebug(TRUE);
+ gpppdata.setPPPDebug(true);
KMessageBox::information(0,
i18n("The \"debug\" option has been added. You "
"should now try to reconnect. If that fails "
@@ -236,15 +236,15 @@ void PPPL_ShowLog() {
PPPL_AnalyseLog(sl, result);
- TQDialog *dlg = new TQDialog(0, "", TRUE);
+ TQDialog *dlg = new TQDialog(0, "", true);
dlg->setCaption(i18n("PPP Log"));
TQVBoxLayout *tl = new TQVBoxLayout(dlg, 10, 10);
TQMultiLineEdit *edit = new TQMultiLineEdit(dlg);
- edit->setReadOnly(TRUE);
+ edit->setReadOnly(true);
TQLabel *label = new TQLabel(i18n("kppp's diagnosis (just guessing):"), dlg);
TQMultiLineEdit *diagnosis = new TQMultiLineEdit(dlg);
- diagnosis->setReadOnly(TRUE);
+ diagnosis->setReadOnly(true);
KButtonBox *bbox = new KButtonBox(dlg);
bbox->addStretch(1);
TQPushButton *write = bbox->addButton(i18n("Write to File"));