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/oscaraccount.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/oscaraccount.h')
-rw-r--r-- | kopete/protocols/oscar/oscaraccount.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kopete/protocols/oscar/oscaraccount.h b/kopete/protocols/oscar/oscaraccount.h index 9998bed8..bccaa9a1 100644 --- a/kopete/protocols/oscar/oscaraccount.h +++ b/kopete/protocols/oscar/oscaraccount.h @@ -42,9 +42,10 @@ class TQTextCodec; class KDE_EXPORT OscarAccount : public Kopete::PasswordedAccount { Q_OBJECT + TQ_OBJECT public: - OscarAccount(Kopete::Protocol *parent, const TQString &accountID, const char *name=0L, bool isICQ=false); + OscarAccount(Kopete::Protocol *tqparent, const TQString &accountID, const char *name=0L, bool isICQ=false); virtual ~OscarAccount(); /** Provide the derived accounts and contacts with access to the backend */ @@ -67,7 +68,7 @@ public: /** * Sets the account away */ - virtual void setAway( bool away, const TQString &awayMessage = TQString::null ) = 0; + virtual void setAway( bool away, const TQString &awayMessage = TQString() ) = 0; /** * Accessor method for the action menu @@ -133,16 +134,16 @@ protected: * Adds a contact to a meta contact */ virtual bool createContact(const TQString &contactId, - Kopete::MetaContact *parentContact ); + Kopete::MetaContact *tqparentContact ); /** * Protocols using Oscar must implement this to perform the instantiation * of their contact for Kopete. Called by @ref createContact(). * @param contactId theprotocol unique id of the contact - * @param parentContact the parent metacontact + * @param tqparentContact the tqparent metacontact * @return whether the creation succeeded or not */ - virtual OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *parentContact, const SSI& ssiItem ) = 0; + virtual OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *tqparentContact, const SSI& ssiItem ) = 0; virtual TQString sanitizedMessage( const TQString& message ) = 0; |