diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/oscar/liboscar/oscartypeclasses.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/liboscar/oscartypeclasses.cpp')
-rw-r--r-- | kopete/protocols/oscar/liboscar/oscartypeclasses.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/liboscar/oscartypeclasses.cpp b/kopete/protocols/oscar/liboscar/oscartypeclasses.cpp index be862872..958a5d49 100644 --- a/kopete/protocols/oscar/liboscar/oscartypeclasses.cpp +++ b/kopete/protocols/oscar/liboscar/oscartypeclasses.cpp @@ -32,7 +32,7 @@ Oscar::TLV::TLV() length = 0; } -Oscar::TLV::TLV( Q_UINT16 newType, Q_UINT16 newLength, char* newData ) +Oscar::TLV::TLV( TQ_UINT16 newType, TQ_UINT16 newLength, char* newData ) { type = newType; length = newLength; @@ -40,7 +40,7 @@ Oscar::TLV::TLV( Q_UINT16 newType, Q_UINT16 newLength, char* newData ) data.duplicate( newData, length ); } -Oscar::TLV::TLV( Q_UINT16 newType, Q_UINT16 newLength, const TQByteArray& newData ) +Oscar::TLV::TLV( TQ_UINT16 newType, TQ_UINT16 newLength, const TQByteArray& newData ) { type = newType; length = newLength; @@ -114,17 +114,17 @@ TQString Oscar::SSI::name() const return m_name; } -Q_UINT16 Oscar::SSI::gid() const +TQ_UINT16 Oscar::SSI::gid() const { return m_gid; } -Q_UINT16 Oscar::SSI::bid() const +TQ_UINT16 Oscar::SSI::bid() const { return m_bid; } -Q_UINT16 Oscar::SSI::type() const +TQ_UINT16 Oscar::SSI::type() const { return m_type; } @@ -134,12 +134,12 @@ const TQValueList<TLV>& Oscar::SSI::tlvList() const return m_tlvList; } -void Oscar::SSI::setTLVListLength( Q_UINT16 newLength ) +void Oscar::SSI::setTLVListLength( TQ_UINT16 newLength ) { m_tlvLength = newLength; } -Q_UINT16 Oscar::SSI::tlvListLength() const +TQ_UINT16 Oscar::SSI::tlvListLength() const { return m_tlvLength; } @@ -224,7 +224,7 @@ TQByteArray Oscar::SSI::iconHash( ) const TQString Oscar::SSI::toString() const { - TQString ssiString = TQString::fromLatin1( "name: " ); + TQString ssiString = TQString::tqfromLatin1( "name: " ); ssiString += m_name; ssiString += " gid: "; ssiString += TQString::number( m_gid ); @@ -263,7 +263,7 @@ Oscar::SSI::operator TQByteArray() const // We must provide the explicit length argument to addString() because // we don't need trailing null byte to be added when automatic // conversion from TQCString to TQByteArray is performed. - // This hack will not be needed with Qt 4. + // This hack will not be needed with TQt 4. b.addString( namedata, namelen ); b.addWord( m_gid ); b.addWord( m_bid ); |