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/oscar | |
| 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/oscar')
| -rw-r--r-- | kopete/protocols/oscar/icq/icqcontact.cpp | 2 | ||||
| -rw-r--r-- | kopete/protocols/oscar/liboscar/bytestream.cpp | 8 | ||||
| -rw-r--r-- | kopete/protocols/oscar/liboscar/tests/tdeunittest.cpp | 4 |
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(); } |
