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 /kopete/protocols/jabber/libiris/cutestuff/util | |
| parent | b2cb25ce7dde70c48747856d22dfac03f27033e1 (diff) | |
| download | tdenetwork-2cab1f30.tar.gz tdenetwork-2cab1f30.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 'kopete/protocols/jabber/libiris/cutestuff/util')
3 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp index 72cbb614..027cb061 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp @@ -78,7 +78,7 @@ ByteStream::~ByteStream() } //! -//! Returns TRUE if the stream is open, meaning that you can write to it. +//! Returns true if the stream is open, meaning that you can write to it. bool ByteStream::isOpen() const { return false; @@ -168,7 +168,7 @@ void ByteStream::appendWrite(const TQByteArray &block) //! //! Returns \a size bytes from the start of the read buffer. //! If \a size is 0, then all available data will be returned. -//! If \a del is TRUE, then the bytes are also removed. +//! If \a del is true, then the bytes are also removed. TQByteArray ByteStream::takeRead(int size, bool del) { return takeArray(&d->readBuf, size, del); @@ -177,7 +177,7 @@ TQByteArray ByteStream::takeRead(int size, bool del) //! //! Returns \a size bytes from the start of the write buffer. //! If \a size is 0, then all available data will be returned. -//! If \a del is TRUE, then the bytes are also removed. +//! If \a del is true, then the bytes are also removed. TQByteArray ByteStream::takeWrite(int size, bool del) { return takeArray(&d->writeBuf, size, del); @@ -217,7 +217,7 @@ void ByteStream::appendArray(TQByteArray *a, const TQByteArray &b) //! //! Returns \a size bytes from the start of the array pointed to by \a from. //! If \a size is 0, then all available data will be returned. -//! If \a del is TRUE, then the bytes are also removed. +//! If \a del is true, then the bytes are also removed. TQByteArray ByteStream::takeArray(TQByteArray *from, int size, bool del) { TQByteArray a; diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp index 9c099ae0..047d2bc0 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp @@ -28,7 +28,7 @@ ShowTextDlg::ShowTextDlg(const TQString &fname, bool rich, TQWidget *parent, const char *name) -:TQDialog(parent, name, FALSE, WDestructiveClose) +:TQDialog(parent, name, false, WDestructiveClose) { TQString text; @@ -42,7 +42,7 @@ ShowTextDlg::ShowTextDlg(const TQString &fname, bool rich, TQWidget *parent, con TQVBoxLayout *vb1 = new TQVBoxLayout(this, 8); TQTextEdit *te = new TQTextEdit(this); - te->setReadOnly(TRUE); + te->setReadOnly(true); te->setTextFormat(rich ? TQTextEdit::RichText : TQTextEdit::PlainText); te->setText(text); diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h index fb5c2963..fb9b8d32 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h +++ b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h @@ -28,7 +28,7 @@ class ShowTextDlg : public TQDialog TQ_OBJECT public: - ShowTextDlg(const TQString &fname, bool rich=FALSE, TQWidget *parent=0, const char *name=0); + ShowTextDlg(const TQString &fname, bool rich=false, TQWidget *parent=0, const char *name=0); }; #endif |
