summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar')
-rw-r--r--kopete/protocols/oscar/icq/icqcontact.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/bytestream.cpp8
-rw-r--r--kopete/protocols/oscar/liboscar/tests/tdeunittest.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp
index 2758d2c4..45bb6bb3 100644
--- a/kopete/protocols/oscar/icq/icqcontact.cpp
+++ b/kopete/protocols/oscar/icq/icqcontact.cpp
@@ -301,7 +301,7 @@ void ICQContact::slotGotAuthRequest( const TQString& contact, const TQString& re
connect( replyDialog, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotAuthReplyDialogOkClicked() ) );
replyDialog->setUser( property( Kopete::Global::Properties::self()->nickName() ).value().toString() );
replyDialog->setRequestReason( reason );
- replyDialog->setModal( TRUE );
+ replyDialog->setModal( true );
replyDialog->show();
}
diff --git a/kopete/protocols/oscar/liboscar/bytestream.cpp b/kopete/protocols/oscar/liboscar/bytestream.cpp
index 4674c13d..87ac0168 100644
--- a/kopete/protocols/oscar/liboscar/bytestream.cpp
+++ b/kopete/protocols/oscar/liboscar/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/oscar/liboscar/tests/tdeunittest.cpp b/kopete/protocols/oscar/liboscar/tests/tdeunittest.cpp
index 0c917fd2..cfc230e0 100644
--- a/kopete/protocols/oscar/liboscar/tests/tdeunittest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/tdeunittest.cpp
@@ -53,8 +53,8 @@ KUnitTest::KUnitTest()
{
TQTimer::singleShot( 0, this, TQ_SLOT(checkRun()) );
- m_tests.setAutoDelete( TRUE );
-// m_qtests.setAutoDelete( TRUE );
+ m_tests.setAutoDelete( true );
+// m_qtests.setAutoDelete( true );
registerTests();
}