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/groupwise/libgroupwise/gwfield.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/groupwise/libgroupwise/gwfield.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/gwfield.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/gwfield.cpp b/kopete/protocols/groupwise/libgroupwise/gwfield.cpp index 6d025e47..94f82937 100644 --- a/kopete/protocols/groupwise/libgroupwise/gwfield.cpp +++ b/kopete/protocols/groupwise/libgroupwise/gwfield.cpp @@ -36,16 +36,16 @@ FieldList::~FieldList() { } -FieldListIterator FieldList::find( TQCString tag ) +FieldListIterator FieldList::tqfind( TQCString tag ) { FieldListIterator it = begin(); - return find( it, tag ); + return tqfind( it, tag ); } -FieldListIterator FieldList::find( FieldListIterator &it, TQCString tag ) +FieldListIterator FieldList::tqfind( FieldListIterator &it, TQCString tag ) { FieldListIterator theEnd = end(); - //cout << "FieldList::find() looking for " << tag.data() << endl; + //cout << "FieldList::tqfind() looking for " << tag.data() << endl; for ( ; it != theEnd; ++it ) { //cout << " - on " << (*it)->tag().data() << endl; @@ -113,7 +113,7 @@ SingleField * FieldList::findSingleField( TQCString tag ) SingleField * FieldList::findSingleField( FieldListIterator &it, TQCString tag ) { - FieldListIterator found = find( it, tag ); + FieldListIterator found = tqfind( it, tag ); if ( found == end() ) return 0; else @@ -128,7 +128,7 @@ MultiField * FieldList::findMultiField( TQCString tag ) MultiField * FieldList::findMultiField( FieldListIterator &it, TQCString tag ) { - FieldListIterator found = find( it, tag ); + FieldListIterator found = tqfind( it, tag ); if ( found == end() ) return 0; else @@ -138,7 +138,7 @@ MultiField * FieldList::findMultiField( FieldListIterator &it, TQCString tag ) /* === FieldBase ========================================================= */ -FieldBase::FieldBase( TQCString tag, Q_UINT8 method, Q_UINT8 flags, Q_UINT8 type ) +FieldBase::FieldBase( TQCString tag, TQ_UINT8 method, TQ_UINT8 flags, TQ_UINT8 type ) : m_tag( tag ), m_method( method ), m_flags( flags ), m_type( type ) { @@ -149,34 +149,34 @@ TQCString FieldBase::tag() const return m_tag; } -Q_UINT8 FieldBase::method() const +TQ_UINT8 FieldBase::method() const { return m_method; } -Q_UINT8 FieldBase::flags() const +TQ_UINT8 FieldBase::flags() const { return m_flags; } -Q_UINT8 FieldBase::type() const +TQ_UINT8 FieldBase::type() const { return m_type; } -void FieldBase::setFlags( const Q_UINT8 flags ) +void FieldBase::setFlags( const TQ_UINT8 flags ) { m_flags = flags; } /* === SingleField ========================================================= */ -SingleField::SingleField( TQCString tag, Q_UINT8 method, Q_UINT8 flags, Q_UINT8 type, TQVariant value ) +SingleField::SingleField( TQCString tag, TQ_UINT8 method, TQ_UINT8 flags, TQ_UINT8 type, TQVariant value ) : FieldBase( tag, method, flags, type ), m_value( value ) { } -SingleField::SingleField( TQCString tag, Q_UINT8 flags, Q_UINT8 type, TQVariant value ) +SingleField::SingleField( TQCString tag, TQ_UINT8 flags, TQ_UINT8 type, TQVariant value ) : FieldBase( tag, NMFIELD_METHOD_VALID, flags, type ), m_value( value ) { } @@ -197,12 +197,12 @@ TQVariant SingleField::value() const /* === MultiField ========================================================= */ -MultiField::MultiField( TQCString tag, Q_UINT8 method, Q_UINT8 flags, Q_UINT8 type, FieldList fields ) +MultiField::MultiField( TQCString tag, TQ_UINT8 method, TQ_UINT8 flags, TQ_UINT8 type, FieldList fields ) : FieldBase( tag, method, flags, type ), m_fields( fields ) { } -MultiField::MultiField( TQCString tag, Q_UINT8 method, Q_UINT8 flags, Q_UINT8 type ) +MultiField::MultiField( TQCString tag, TQ_UINT8 method, TQ_UINT8 flags, TQ_UINT8 type ) : FieldBase( tag, method, flags, type ) { } |