summaryrefslogtreecommitdiffstats
path: root/kppp/ppplog.cpp
diff options
context:
space:
mode:
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"));