summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_autoconnect.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/KSPrefs/page_autoconnect.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/KSPrefs/page_autoconnect.cpp')
-rw-r--r--ksirc/KSPrefs/page_autoconnect.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/KSPrefs/page_autoconnect.cpp b/ksirc/KSPrefs/page_autoconnect.cpp
index 8ce6311d..9849df56 100644
--- a/ksirc/KSPrefs/page_autoconnect.cpp
+++ b/ksirc/KSPrefs/page_autoconnect.cpp
@@ -31,8 +31,8 @@ PageAutoConnect::PageAutoConnect( TQWidget *parent, const char *name ) : PageAut
KLVAutoConnect->setSorting( 0 );
//KLVAutoConnect->header()->hide();
- AddPB->setEnabled(FALSE);
- DeletePB->setEnabled(FALSE);
+ AddPB->setEnabled(false);
+ DeletePB->setEnabled(false);
PortKI->setValue(6667);
}
@@ -122,7 +122,7 @@ void PageAutoConnect::readConfig()
}
kdDebug(5008) << server << ": Done " << port << " " << ssl << " " << pass << endl;
TQListViewItem *s = new TQListViewItem(KLVAutoConnect, server, port, pass, ssl);
- s->setOpen(TRUE);
+ s->setOpen(true);
channels.sort();
TQStringList::ConstIterator chan = channels.begin();
for(; chan != channels.end(); chan++){
@@ -165,7 +165,7 @@ void PageAutoConnect::add_pressed()
ssl = i18n("SSL");
s = new TQListViewItem(KLVAutoConnect, server, port, PassLE->text(), ssl);
- s->setOpen(TRUE);
+ s->setOpen(true);
s = new TQListViewItem(s, ChannelLE->text(), KeyLE->text());
KLVAutoConnect->setCurrentItem(s);
}
@@ -233,7 +233,7 @@ void PageAutoConnect::delete_pressed()
it = it->nextSibling()){
if(it->text(NAME) == ServerLE->text()){
- if(ChannelLE->text().isEmpty() == FALSE){
+ if(!ChannelLE->text().isEmpty()){
for(TQListViewItem *ch = it->firstChild();
ch != 0;
ch = ch->nextSibling()){