summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/cutestuff/util
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/libiris/cutestuff/util')
-rw-r--r--kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp8
-rw-r--r--kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp4
-rw-r--r--kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h2
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