diff options
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; }; |