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/userinfotask.h | |
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/userinfotask.h')
-rw-r--r-- | kopete/protocols/oscar/liboscar/userinfotask.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kopete/protocols/oscar/liboscar/userinfotask.h b/kopete/protocols/oscar/liboscar/userinfotask.h index 4b973a04..4eadc90c 100644 --- a/kopete/protocols/oscar/liboscar/userinfotask.h +++ b/kopete/protocols/oscar/liboscar/userinfotask.h @@ -33,8 +33,9 @@ Handles user information requests that are done via SNAC 02,05 and 02,06 class UserInfoTask : public Task { Q_OBJECT + TQ_OBJECT public: - UserInfoTask( Task* parent ); + UserInfoTask( Task* tqparent ); ~UserInfoTask(); enum { Profile = 0x0001, General = 0x0002, AwayMessage = 0x0003, Capabilities = 0x0004 }; @@ -45,20 +46,20 @@ public: void onGo(); void requestInfoFor( const TQString& userId, unsigned int types ); - UserDetails getInfoFor( Q_UINT16 sequence ) const; - TQString contactForSequence( Q_UINT16 sequence ) const; + UserDetails getInfoFor( TQ_UINT16 sequence ) const; + TQString contactForSequence( TQ_UINT16 sequence ) const; signals: - void gotInfo( Q_UINT16 seqNumber ); + void gotInfo( TQ_UINT16 seqNumber ); void receivedProfile( const TQString& contact, const TQString& profile ); void receivedAwayMessage( const TQString& contact, const TQString& message ); private: - TQMap<Q_UINT16, UserDetails> m_sequenceInfoMap; - TQMap<Q_UINT16, TQString> m_contactSequenceMap; - TQMap<Q_UINT16, unsigned int> m_typesSequenceMap; - Q_UINT16 m_seq; + TQMap<TQ_UINT16, UserDetails> m_sequenceInfoMap; + TQMap<TQ_UINT16, TQString> m_contactSequenceMap; + TQMap<TQ_UINT16, unsigned int> m_typesSequenceMap; + TQ_UINT16 m_seq; }; |