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 | |
| 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')
21 files changed, 64 insertions, 64 deletions
diff --git a/kopete/protocols/gadu/gaduaccount.cpp b/kopete/protocols/gadu/gaduaccount.cpp index 208e6421..97267c85 100644 --- a/kopete/protocols/gadu/gaduaccount.cpp +++ b/kopete/protocols/gadu/gaduaccount.cpp @@ -255,35 +255,35 @@ GaduAccount::actionMenu() arg( myself()->property( Kopete::Global::Properties::self()->nickName()).value().toString(), accountId() ) ); if ( p->session_->isConnected() ) { - p->searchAction->setEnabled( TRUE ); - p->listputAction->setEnabled( TRUE ); - p->friendsModeAction->setEnabled( TRUE ); + p->searchAction->setEnabled( true ); + p->listputAction->setEnabled( true ); + p->friendsModeAction->setEnabled( true ); } else { - p->searchAction->setEnabled( FALSE ); - p->listputAction->setEnabled( FALSE ); - p->friendsModeAction->setEnabled( FALSE ); + p->searchAction->setEnabled( false ); + p->listputAction->setEnabled( false ); + p->friendsModeAction->setEnabled( false ); } if ( contacts().count() > 1 ) { if ( p->saveListDialog ) { - p->listToFileAction->setEnabled( FALSE ); + p->listToFileAction->setEnabled( false ); } else { - p->listToFileAction->setEnabled( TRUE ); + p->listToFileAction->setEnabled( true ); } - p->listToFileAction->setEnabled( TRUE ); + p->listToFileAction->setEnabled( true ); } else { - p->listToFileAction->setEnabled( FALSE ); + p->listToFileAction->setEnabled( false ); } if ( p->loadListDialog ) { - p->listFromFileAction->setEnabled( FALSE ); + p->listFromFileAction->setEnabled( false ); } else { - p->listFromFileAction->setEnabled( TRUE ); + p->listFromFileAction->setEnabled( true ); } p->actionMenu_->insert( new TDEAction( i18n( "Go O&nline" ), GaduProtocol::protocol()->convertStatus( GG_STATUS_AVAIL ).iconFor( this ), diff --git a/kopete/protocols/gadu/gaduaddcontactpage.cpp b/kopete/protocols/gadu/gaduaddcontactpage.cpp index d42272ca..343e499b 100644 --- a/kopete/protocols/gadu/gaduaddcontactpage.cpp +++ b/kopete/protocols/gadu/gaduaddcontactpage.cpp @@ -51,7 +51,7 @@ GaduAddContactPage::GaduAddContactPage( GaduAccount* owner, TQWidget* parent, co connect( addUI_->addEdit_, TQ_SIGNAL( textChanged( const TQString & ) ), TQ_SLOT( slotUinChanged( const TQString & ) ) ); addUI_->addEdit_->setValidChars( "1234567890" ); addUI_->addEdit_->setText( "" ); - addUI_->groups->setDisabled( TRUE ); + addUI_->groups->setDisabled( true ); kdDebug(14100) << "filling gropus" << endl; diff --git a/kopete/protocols/gadu/gaduaway.cpp b/kopete/protocols/gadu/gaduaway.cpp index d56fc124..b416ad52 100644 --- a/kopete/protocols/gadu/gaduaway.cpp +++ b/kopete/protocols/gadu/gaduaway.cpp @@ -50,7 +50,7 @@ GaduAway::GaduAway( GaduAccount* account, TQWidget* parent, const char* name ) s = GaduProtocol::protocol()->statusToWithDescription( ks ); if ( s == GG_STATUS_NOT_AVAIL_DESCR ) { - ui_->statusGroup_->find( GG_STATUS_NOT_AVAIL_DESCR )->setDisabled( TRUE ); + ui_->statusGroup_->find( GG_STATUS_NOT_AVAIL_DESCR )->setDisabled( true ); ui_->statusGroup_->setButton( GG_STATUS_AVAIL_DESCR ); } else { diff --git a/kopete/protocols/gadu/gadudcctransaction.cpp b/kopete/protocols/gadu/gadudcctransaction.cpp index 6367e5cb..9ae13e2b 100644 --- a/kopete/protocols/gadu/gadudcctransaction.cpp +++ b/kopete/protocols/gadu/gadudcctransaction.cpp @@ -269,7 +269,7 @@ GaduDCCTransaction::slotIncomingTransferAccepted ( Kopete::Transfer* transfer, c } else { // overwrite by default - if ( localFile_.open( IO_ReadWrite ) == FALSE ) { + if ( !localFile_.open( IO_ReadWrite ) ) { transfer->slotError ( TDEIO::ERR_COULD_NOT_WRITE, fileName ); closeDCC(); deleteLater (); diff --git a/kopete/protocols/gadu/gadueditcontact.cpp b/kopete/protocols/gadu/gadueditcontact.cpp index c067397a..062e066b 100644 --- a/kopete/protocols/gadu/gadueditcontact.cpp +++ b/kopete/protocols/gadu/gadueditcontact.cpp @@ -99,7 +99,7 @@ GaduEditContact::fillGroups() // FIXME: optimize this O(2) search for( cg = cgl.first(); cg; cg = cgl.next() ) { if ( cg->groupId() == g->groupId() ) { - item->setOn( TRUE ); + item->setOn( true ); break; } } @@ -196,7 +196,7 @@ GaduEditContact::slotApply() } } - if( contact_->metaContact()->groups().isEmpty() == TRUE ) + if( contact_->metaContact()->groups().isEmpty() ) contact_->metaContact()->addToGroup( Kopete::Group::topLevel() ); } #include "gadueditcontact.moc" diff --git a/kopete/protocols/gadu/gadurichtextformat.cpp b/kopete/protocols/gadu/gadurichtextformat.cpp index ad1197b8..6e9e3bfb 100644 --- a/kopete/protocols/gadu/gadurichtextformat.cpp +++ b/kopete/protocols/gadu/gadurichtextformat.cpp @@ -262,14 +262,14 @@ GaduRichTextFormat::insertRtf( uint position) // append font description rtfs.position = position; uint csize = rtf.size(); - if ( rtf.resize( csize + sizeof( gg_msg_richtext_format ) ) == FALSE ) { + if ( !rtf.resize( csize + sizeof( gg_msg_richtext_format ) ) ) { return false; }; memcpy( rtf.data() + csize, &rtfs, sizeof( rtfs ) ); // append color description, if color has changed if ( rtfs.font & GG_FONT_COLOR ) { csize = rtf.size(); - if ( rtf.resize( csize + sizeof( gg_msg_richtext_color ) ) == FALSE ) { + if ( !rtf.resize( csize + sizeof( gg_msg_richtext_color ) ) ) { return false; }; memcpy( rtf.data() + csize, &rtcs, sizeof( rtcs ) ); diff --git a/kopete/protocols/groupwise/libgroupwise/bytestream.cpp b/kopete/protocols/groupwise/libgroupwise/bytestream.cpp index fcb82ef4..a8a4adb8 100644 --- a/kopete/protocols/groupwise/libgroupwise/bytestream.cpp +++ b/kopete/protocols/groupwise/libgroupwise/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/irc/libkirc/kirctransfer.cpp b/kopete/protocols/irc/libkirc/kirctransfer.cpp index 50e96ce8..9296d4df 100644 --- a/kopete/protocols/irc/libkirc/kirctransfer.cpp +++ b/kopete/protocols/irc/libkirc/kirctransfer.cpp @@ -192,7 +192,7 @@ bool Transfer::initiate() timer = new TQTimer(this); connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(flush())); - timer->start(1000, FALSE); // flush the streams at every seconds + timer->start(1000, false); // flush the streams at every seconds return true; } diff --git a/kopete/protocols/irc/ui/channellist.cpp b/kopete/protocols/irc/ui/channellist.cpp index fdff5512..de64319f 100644 --- a/kopete/protocols/irc/ui/channellist.cpp +++ b/kopete/protocols/irc/ui/channellist.cpp @@ -189,10 +189,10 @@ ChannelList::ChannelList( TQWidget* parent, KIRC::Engine *engine ) mChannelList = new TDEListView( this, "mChannelList" ); mChannelList->addColumn( i18n( "Channel" ) ); mChannelList->addColumn( i18n( "Users" ) ); - mChannelList->header()->setResizeEnabled( FALSE, mChannelList->header()->count() - 1 ); + mChannelList->header()->setResizeEnabled( false, mChannelList->header()->count() - 1 ); mChannelList->addColumn( i18n( "Topic" ) ); - mChannelList->setAllColumnsShowFocus( TRUE ); - mChannelList->setShowSortIndicator( TRUE ); + mChannelList->setAllColumnsShowFocus( true ); + mChannelList->setShowSortIndicator( true ); ChannelListLayout->addWidget( mChannelList ); clearWState( WState_Polished ); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp index e3527855..21af960f 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp @@ -305,7 +305,7 @@ TQString NDns::resultString() const } //! -//! Returns TRUE if busy resolving a hostname. +//! Returns true if busy resolving a hostname. bool NDns::isBusy() const { if(!man) 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 diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp index e7e929ab..77f003fe 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp @@ -1276,7 +1276,7 @@ void JT_ClientTime::go() bool JT_ClientTime::take(const TQDomElement &x) { if(x.attribute("id") != id()) - return FALSE; + return false; if(x.attribute("type") == "result") { bool found; @@ -1292,14 +1292,14 @@ bool JT_ClientTime::take(const TQDomElement &x) if(found) display = tagContent(tag); - setSuccess(TRUE); + setSuccess(true); } else { setError(getErrorString(x)); - setSuccess(FALSE); + setSuccess(false); } - return TRUE; + return true; } */ @@ -1345,7 +1345,7 @@ bool JT_ServInfo::take(const TQDomElement &e) // query.appendChild(textTag("tz", str)); // query.appendChild(textTag("display", TQString("%1 %2").arg(local.toString()).arg(str))); // send(iq); - // return TRUE; + // return true; //} else if(ns == "http://jabber.org/protocol/disco#info") { // Find out the node diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp index ac7f5626..eee9206c 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp @@ -42,7 +42,7 @@ static TQDomElement textTag(TQDomDocument *doc, const TQString &name, const TQSt static TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool *found) { if(found) - *found = FALSE; + *found = false; for(TQDomNode n = e.firstChild(); !n.isNull(); n = n.nextSibling()) { TQDomElement i = n.toElement(); @@ -50,7 +50,7 @@ static TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool continue; if(i.tagName().upper() == name.upper()) { // mblsha: ignore case when searching if(found) - *found = TRUE; + *found = true; return i; } } diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp index b6297b61..0bbe7b4b 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp @@ -264,7 +264,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS /*TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool *found) { if(found) - *found = FALSE; + *found = false; for(TQDomNode n = e.firstChild(); !n.isNull(); n = n.nextSibling()) { TQDomElement i = n.toElement(); @@ -272,7 +272,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS continue; if(i.tagName() == name) { if(found) - *found = TRUE; + *found = true; return i; } } @@ -283,7 +283,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS void readEntry(const TQDomElement &e, const TQString &name, TQString *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; @@ -292,7 +292,7 @@ void readEntry(const TQDomElement &e, const TQString &name, TQString *v) void readNumEntry(const TQDomElement &e, const TQString &name, int *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; @@ -301,16 +301,16 @@ void readNumEntry(const TQDomElement &e, const TQString &name, int *v) void readBoolEntry(const TQDomElement &e, const TQString &name, bool *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; - *v = (tagContent(tag) == "true") ? TRUE: FALSE; + *v = (tagContent(tag) == "true"); } void readSizeEntry(const TQDomElement &e, const TQString &name, TQSize *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; @@ -325,7 +325,7 @@ void readSizeEntry(const TQDomElement &e, const TQString &name, TQSize *v) void readRectEntry(const TQDomElement &e, const TQString &name, TQRect *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; @@ -342,7 +342,7 @@ void readRectEntry(const TQDomElement &e, const TQString &name, TQRect *v) void readColorEntry(const TQDomElement &e, const TQString &name, TQColor *v) { - bool found = FALSE; + bool found = false; TQDomElement tag = findSubTag(e, name, &found); if(!found) return; @@ -378,7 +378,7 @@ void readBoolAttribute(TQDomElement e, const TQString &name, bool *v) { if(e.hasAttribute(name)) { TQString s = e.attribute(name); - *v = (s == "true") ? TRUE: FALSE; + *v = (s == "true"); } } 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(); } diff --git a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp index df8a8a1a..c78a494a 100644 --- a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp +++ b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp @@ -60,7 +60,7 @@ kdDebug() << "Just captured 1st frame" << endl; if (mPixmap.convertFromImage(mImage,0) == true) mImageContainer->updatePixmap(mPixmap); connect(&qtimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateImage()) ); - qtimer.start(0,FALSE); + qtimer.start(0,false); } TestbedWebcamDialog::~ TestbedWebcamDialog( ) diff --git a/kopete/protocols/yahoo/libkyahoo/bytestream.cpp b/kopete/protocols/yahoo/libkyahoo/bytestream.cpp index a0c16f6b..0cdf093a 100644 --- a/kopete/protocols/yahoo/libkyahoo/bytestream.cpp +++ b/kopete/protocols/yahoo/libkyahoo/bytestream.cpp @@ -80,7 +80,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; @@ -181,7 +181,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) { // kdDebug(14181) << k_funcinfo << "[data size: " << size << "][ delete :" << del << " ]" << endl; @@ -191,7 +191,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) { // kdDebug(14181) << k_funcinfo << "[data size: " << size << "][ delete :" << del << " ]" << endl; @@ -235,7 +235,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) { // kdDebug(14181) << k_funcinfo << "[int size] : " << size << " [bool del] " << del << endl; |
