diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-03 15:55:36 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-08 17:13:22 +0900 |
| commit | 2cab1f3059038ab001f5185c29f0791c77aeeba1 (patch) | |
| tree | e294a699a78e0aef2969216fc8fc1378b83b0064 /ksirc/puke/ptabdialog.cpp | |
| parent | b2cb25ce7dde70c48747856d22dfac03f27033e1 (diff) | |
| download | tdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.tar.gz tdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.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 'ksirc/puke/ptabdialog.cpp')
| -rw-r--r-- | ksirc/puke/ptabdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/puke/ptabdialog.cpp b/ksirc/puke/ptabdialog.cpp index 3538c8c7..b0cb85bc 100644 --- a/ksirc/puke/ptabdialog.cpp +++ b/ksirc/puke/ptabdialog.cpp @@ -12,11 +12,11 @@ PTabDialog::createWidget(CreateArgs &ca) TQTabDialog *qtd; // Retreive the border and direction information out of the // carg string - if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQTabDialog") == TRUE){ + if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQTabDialog")){ qtd = (TQTabDialog *) ca.fetchedObj; - ptd->setDeleteAble(FALSE); + ptd->setDeleteAble(false); } - else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE) + else if(ca.parent != 0 && ca.parent->widget()->isWidgetType()) qtd = new TQTabDialog((TQWidget *) ca.parent->widget()); else qtd = new TQTabDialog(); @@ -78,7 +78,7 @@ void PTabDialog::messageHandler(int fd, PukeMessage *pm) void PTabDialog::setWidget(TQObject *tb) { - if(tb != 0 && tb->inherits("TQTabDialog") == FALSE) + if(tb != 0 && !tb->inherits("TQTabDialog")) { errorInvalidSet(tb); return; |
