summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ptdefiledialog.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:03:36 +0900
commit89969dcb2142d91b295c8d18cde46e22ef118dce (patch)
tree862942119b09c5ad5aeaea8baa6b9e698928ce2e /ksirc/puke/ptdefiledialog.cpp
parent40e3e626e4cc8bb2d65788e3c097ddae4192c4d8 (diff)
downloadtdenetwork-89969dcb2142d91b295c8d18cde46e22ef118dce.tar.gz
tdenetwork-89969dcb2142d91b295c8d18cde46e22ef118dce.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksirc/puke/ptdefiledialog.cpp')
-rw-r--r--ksirc/puke/ptdefiledialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/puke/ptdefiledialog.cpp b/ksirc/puke/ptdefiledialog.cpp
index d60b47d5..2ff4d68f 100644
--- a/ksirc/puke/ptdefiledialog.cpp
+++ b/ksirc/puke/ptdefiledialog.cpp
@@ -11,12 +11,12 @@ PKFileDialog::createWidget(CreateArgs &ca)
{
PKFileDialog *pw = new PKFileDialog(ca.parent);
KFileDialog *kfbd;
- if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("KFileDialog") == TRUE){
+ if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("KFileDialog")){
kfbd = (KFileDialog *) ca.fetchedObj;
- pw->setDeleteAble(FALSE);
+ pw->setDeleteAble(false);
}
else // Never takes a parent in Puke
- kfbd = new KFileDialog("/", TQString(), 0L, "PukeKFileDialog", TRUE);
+ kfbd = new KFileDialog("/", TQString(), 0L, "PukeKFileDialog", true);
pw->setWidget(kfbd);
pw->setWidgetId(ca.pwI);
return pw;
@@ -104,7 +104,7 @@ void PKFileDialog::messageHandler(int fd, PukeMessage *pm)
void PKFileDialog::setWidget(TQObject *_kbfd)
{
- if(_kbfd != 0 && _kbfd->inherits("KFileBaseDialog") == FALSE)
+ if(_kbfd != 0 && !_kbfd->inherits("KFileBaseDialog"))
{
errorInvalidSet(_kbfd);
return;