summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar')
-rw-r--r--kopete/protocols/oscar/liboscar/buffer.cpp4
-rw-r--r--kopete/protocols/oscar/liboscar/chatnavservicetask.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/coreprotocol.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/rtf.cc2
-rw-r--r--kopete/protocols/oscar/liboscar/rtf.ll2
-rw-r--r--kopete/protocols/oscar/liboscar/task.cpp4
-rw-r--r--kopete/protocols/oscar/liboscar/tests/ssitest.cpp12
-rw-r--r--kopete/protocols/oscar/liboscar/transfer.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/userdetails.cpp2
9 files changed, 16 insertions, 16 deletions
diff --git a/kopete/protocols/oscar/liboscar/buffer.cpp b/kopete/protocols/oscar/liboscar/buffer.cpp
index c778d382..48f68349 100644
--- a/kopete/protocols/oscar/liboscar/buffer.cpp
+++ b/kopete/protocols/oscar/liboscar/buffer.cpp
@@ -376,7 +376,7 @@ int Buffer::addChatTLV(const WORD type, const WORD exchange,
void Buffer::expandBuffer(unsigned int inc)
{
- mBuffer.tqresize(mBuffer.size()+inc, TQGArray::SpeedOptim);
+ mBuffer.resize(mBuffer.size()+inc, TQGArray::SpeedOptim);
}
TQCString Buffer::getLNTS()
@@ -477,7 +477,7 @@ TQString Buffer::toString() const
if ( c < 0x10 )
hex.append("0");
- hex.append(TQString("%1 ").tqarg(c, 0, 16));
+ hex.append(TQString("%1 ").arg(c, 0, 16));
ascii.append(isprint(c) ? c : '.');
diff --git a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
index 23136db4..3004af0c 100644
--- a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
+++ b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
@@ -262,7 +262,7 @@ void ChatNavServiceTask::handleBasicRoomInfo( const TLV& t )
kdDebug(OSCAR_RAW_DEBUG) << "moderator" << endl;
break;
case 0x6D:
- kdDebug(OSCAR_RAW_DEBUG) << "num tqchildren" << endl;
+ kdDebug(OSCAR_RAW_DEBUG) << "num children" << endl;
break;
case 0x06F:
kdDebug(OSCAR_RAW_DEBUG) << "occupancy" << endl;
diff --git a/kopete/protocols/oscar/liboscar/coreprotocol.cpp b/kopete/protocols/oscar/liboscar/coreprotocol.cpp
index 638ed6c0..2a4d96f5 100644
--- a/kopete/protocols/oscar/liboscar/coreprotocol.cpp
+++ b/kopete/protocols/oscar/liboscar/coreprotocol.cpp
@@ -54,7 +54,7 @@ static TQString toString( const TQByteArray& buffer )
if ( c < 0x10 )
hex.append("0");
- hex.append(TQString("%1 ").tqarg(c, 0, 16));
+ hex.append(TQString("%1 ").arg(c, 0, 16));
ascii.append(isprint(c) ? c : '.');
diff --git a/kopete/protocols/oscar/liboscar/rtf.cc b/kopete/protocols/oscar/liboscar/rtf.cc
index e9048c21..67753b20 100644
--- a/kopete/protocols/oscar/liboscar/rtf.cc
+++ b/kopete/protocols/oscar/liboscar/rtf.cc
@@ -2078,7 +2078,7 @@ void Level::clearParagraphFormatting()
// implicitly start a paragraph
if (!isParagraphOpen())
startParagraph();
- // Since we don't implement any of the paragraph formatting tags (e.g. tqalignment),
+ // Since we don't implement any of the paragraph formatting tags (e.g. alignment),
// we don't clean up anything here. Note that \pard does NOT clean character
// formatting (such as font size, font weight, italics...).
p->parStyle.clearFormatting();
diff --git a/kopete/protocols/oscar/liboscar/rtf.ll b/kopete/protocols/oscar/liboscar/rtf.ll
index 47d1bdf7..c43aeaea 100644
--- a/kopete/protocols/oscar/liboscar/rtf.ll
+++ b/kopete/protocols/oscar/liboscar/rtf.ll
@@ -515,7 +515,7 @@ void Level::clearParagraphFormatting()
// implicitly start a paragraph
if (!isParagraphOpen())
startParagraph();
- // Since we don't implement any of the paragraph formatting tags (e.g. tqalignment),
+ // Since we don't implement any of the paragraph formatting tags (e.g. alignment),
// we don't clean up anything here. Note that \pard does NOT clean character
// formatting (such as font size, font weight, italics...).
p->parStyle.clearFormatting();
diff --git a/kopete/protocols/oscar/liboscar/task.cpp b/kopete/protocols/oscar/liboscar/task.cpp
index 9e637d45..d797031d 100644
--- a/kopete/protocols/oscar/liboscar/task.cpp
+++ b/kopete/protocols/oscar/liboscar/task.cpp
@@ -128,7 +128,7 @@ bool Task::take( Transfer * transfer)
if(p.isEmpty())
return false;
- // pass along the transfer to our tqchildren
+ // pass along the transfer to our children
TQObjectListIt it(p);
Task *t;
for(; it.current(); ++it) {
@@ -271,7 +271,7 @@ void Task::debug(const TQString &str)
{
//black hole
Q_UNUSED( str );
- //client()->debug(TQString("%1: ").tqarg(className()) + str);
+ //client()->debug(TQString("%1: ").arg(className()) + str);
}
bool Task::forMe( const Transfer * transfer ) const
diff --git a/kopete/protocols/oscar/liboscar/tests/ssitest.cpp b/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
index 9c2202a6..7669a945 100644
--- a/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
@@ -53,28 +53,28 @@ void SSITest::testIt()
//try to find a group by name
ssi = m_manager->findGroup("SecondGroup");
if ( ssi )
- qDebug( TQString("Found group SecondGroup with gid=%1").tqarg( ssi->gid() ).latin1());
+ qDebug( TQString("Found group SecondGroup with gid=%1").arg( ssi->gid() ).latin1());
else
qDebug( "Oops, group SecondGroup not found" );
//try to find a group by gid
ssi = m_manager->findGroup( 3 );
if ( ssi )
- qDebug( TQString("Found group 3 with name=%1").tqarg( ssi->name() ).latin1() );
+ qDebug( TQString("Found group 3 with name=%1").arg( ssi->name() ).latin1() );
else
qDebug( "Oops, group 3 not found" );
//try to find a contact by name
ssi = m_manager->findContact("ThirdContact");
if ( ssi )
- qDebug( TQString( "Found contact ThirdContact with gid=%1" ).tqarg( ssi->gid() ).latin1() );
+ qDebug( TQString( "Found contact ThirdContact with gid=%1" ).arg( ssi->gid() ).latin1() );
else
qDebug( "Oops, contact ThirdContact not found" );
//try to find a contact using the name and the group name
ssi = m_manager->findContact("FourthContact","SecondGroup");
if ( ssi )
- qDebug( TQString("Found contact FourthContact with bid=%1").tqarg( ssi->bid() ).latin1() );
+ qDebug( TQString("Found contact FourthContact with bid=%1").arg( ssi->bid() ).latin1() );
else
qDebug( "Oops, contact FourthContact not found" );
@@ -89,13 +89,13 @@ void SSITest::testIt()
TQValueList<SSI*>::iterator it;
qDebug( "Contacts from group FirtsGroup:" );
for ( it = list.begin(); it != list.end(); ++it)
- qDebug( TQString(" name=%1").tqarg( (*it)->name() ).latin1() );
+ qDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
//the group list
TQValueList<SSI*> list2 = m_manager->groupList();
qDebug( "Group list:" );
for ( it = list2.begin(); it != list2.end(); ++it)
- qDebug( TQString(" name=%1").tqarg( (*it)->name() ).latin1() );
+ qDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
//remove a group - this shouldn't report any debug line
m_manager->removeGroup( "SecondGroup" );
diff --git a/kopete/protocols/oscar/liboscar/transfer.cpp b/kopete/protocols/oscar/liboscar/transfer.cpp
index 100bcf9d..9af57b30 100644
--- a/kopete/protocols/oscar/liboscar/transfer.cpp
+++ b/kopete/protocols/oscar/liboscar/transfer.cpp
@@ -90,7 +90,7 @@ TQString Transfer::toString() const
if(c < 0x10)
hex.append("0");
- hex.append(TQString("%1 ").tqarg(c, 0, 16));
+ hex.append(TQString("%1 ").arg(c, 0, 16));
ascii.append(isprint(c) ? c : '.');
diff --git a/kopete/protocols/oscar/liboscar/userdetails.cpp b/kopete/protocols/oscar/liboscar/userdetails.cpp
index bc6ac70a..8a1b6c4e 100644
--- a/kopete/protocols/oscar/liboscar/userdetails.cpp
+++ b/kopete/protocols/oscar/liboscar/userdetails.cpp
@@ -126,7 +126,7 @@ TQString UserDetails::clientName() const
{
if ( !m_clientVersion.isEmpty() )
return i18n("Translators: client-name client-version",
- "%1 %2").tqarg(m_clientName, m_clientVersion);
+ "%1 %2").arg(m_clientName, m_clientVersion);
else
return m_clientName;
}