diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:42:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 13:42:43 +0900 |
commit | f7627863e495225e1828bd75b78f7cde42201fec (patch) | |
tree | 4126d74646df41772c8f775293e66d690a253789 | |
parent | 47901e78dc5e59cab35cf97151ab23a8e8adc556 (diff) | |
download | kbiff-f7627863e495225e1828bd75b78f7cde42201fec.tar.gz kbiff-f7627863e495225e1828bd75b78f7cde42201fec.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kbiff/kbiffmonitor.cpp | 12 | ||||
-rw-r--r-- | kbiff/status.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kbiff/kbiffmonitor.cpp b/kbiff/kbiffmonitor.cpp index 33ba0bc..fb9ed8d 100644 --- a/kbiff/kbiffmonitor.cpp +++ b/kbiff/kbiffmonitor.cpp @@ -1737,9 +1737,9 @@ bool KBiffImap::command(const TQString& line, unsigned int seq) no.sprintf("%d NO", seq); // must be case insensitive - TQRegExp status("\\* STATUS", FALSE); - TQRegExp capability("\\* CAPABILITY", FALSE); - TQRegExp cram_md5("AUTHENTICATE CRAM-MD5", FALSE); + TQRegExp status("\\* STATUS", false); + TQRegExp capability("\\* CAPABILITY", false); + TQRegExp cram_md5("AUTHENTICATE CRAM-MD5", false); // are we trying CRAM-MD5 ? tried_cram_md5 = cram_md5.search(line)>=0; @@ -1766,13 +1766,13 @@ bool KBiffImap::command(const TQString& line, unsigned int seq) * S: . OK STATUS Completed */ if (status.search(response) >= 0) { - TQRegExp unseen("UNSEEN ([0-9]*)", FALSE); + TQRegExp unseen("UNSEEN ([0-9]*)", false); if (unseen.search(response) >= 0) { TQString num = unseen.cap(1); newMessages = num.toInt(); } - TQRegExp number("MESSAGES ([0-9]*)", FALSE); + TQRegExp number("MESSAGES ([0-9]*)", false); if (number.search(response) >= 0) { TQString num = number.cap(1); messages = num.toInt(); @@ -1787,7 +1787,7 @@ bool KBiffImap::command(const TQString& line, unsigned int seq) * S: . OK CAPABILITY completed. */ if (capability.search(response) >= 0) { - TQRegExp cram_md5_cap("AUTH=CRAM-MD5", FALSE); + TQRegExp cram_md5_cap("AUTH=CRAM-MD5", false); if (cram_md5_cap.search(response) >= 0) { auth_cram_md5 = true; } diff --git a/kbiff/status.cpp b/kbiff/status.cpp index f9b829b..8fe8356 100644 --- a/kbiff/status.cpp +++ b/kbiff/status.cpp @@ -35,7 +35,7 @@ KBiffStatus::KBiffStatus(TQWidget *parent_, const TQString& profile, const KBiff _listView->addColumn(i18n("Old")); _listView->setColumnAlignment(1, AlignRight); _listView->setColumnAlignment(2, AlignRight); - _listView->setSorting(1, FALSE); + _listView->setSorting(1, false); _listView->setFrameStyle(TQFrame::WinPanel | TQFrame::Raised); _listView->setVScrollBarMode(TQScrollView::AlwaysOff); _listView->setHScrollBarMode(TQScrollView::AlwaysOff); |