summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plistbox.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 /ksirc/puke/plistbox.cpp
parentb2cb25ce7dde70c48747856d22dfac03f27033e1 (diff)
downloadtdenetwork-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/plistbox.cpp')
-rw-r--r--ksirc/puke/plistbox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/puke/plistbox.cpp b/ksirc/puke/plistbox.cpp
index b8f9b8b8..e171c02d 100644
--- a/ksirc/puke/plistbox.cpp
+++ b/ksirc/puke/plistbox.cpp
@@ -8,11 +8,11 @@ PListBox::createWidget(CreateArgs &ca)
{
PListBox *plb = new PListBox(ca.parent);
TQListBox *lb;
- if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQListBox") == TRUE){
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQListBox")){
lb = (TQListBox *) ca.fetchedObj;
- plb->setDeleteAble(FALSE);
+ plb->setDeleteAble(false);
}
- else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
+ else if(ca.parent != 0 && ca.parent->widget()->isWidgetType())
lb = new TQListBox((TQWidget *) ca.parent->widget());
else
lb = new TQListBox();
@@ -152,7 +152,7 @@ void PListBox::messageHandler(int fd, PukeMessage *pm)
void PListBox::setWidget(TQObject *_lb)
{
- if(_lb != 0 && _lb->inherits("TQListBox") == FALSE)
+ if(_lb != 0 && !_lb->inherits("TQListBox"))
{
errorInvalidSet(_lb);
return;
@@ -215,9 +215,9 @@ void PListBox::selected(int index) {
bool PListBox::checkWidget(){
if(widget() == 0){
kdDebug(5008) << "PListBox: No Widget set" << endl;
- return FALSE;
+ return false;
}
- return TRUE;
+ return true;
}
#include "plistbox.moc"