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/msn/msnaccount.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/msn/msnaccount.h')
-rw-r--r-- | kopete/protocols/msn/msnaccount.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kopete/protocols/msn/msnaccount.h b/kopete/protocols/msn/msnaccount.h index 5f7352e3..d62998cf 100644 --- a/kopete/protocols/msn/msnaccount.h +++ b/kopete/protocols/msn/msnaccount.h @@ -40,9 +40,10 @@ class MSNContact; class MSNAccount : public Kopete::PasswordedAccount { Q_OBJECT + TQ_OBJECT public: - MSNAccount( MSNProtocol *parent, const TQString &accountID, const char *name = 0L ); + MSNAccount( MSNProtocol *tqparent, const TQString &accountID, const char *name = 0L ); /* * return the menu for this account @@ -112,7 +113,7 @@ public: public slots: virtual void connectWithPassword( const TQString &password ) ; virtual void disconnect() ; - virtual void setOnlineStatus( const Kopete::OnlineStatus &status , const TQString &reason = TQString::null); + virtual void setOnlineStatus( const Kopete::OnlineStatus &status , const TQString &reason = TQString()); /** * Ask to the account to create a new chat session @@ -125,7 +126,7 @@ public slots: void slotErrorMessageReceived( int type, const TQString &msg ); protected: - virtual bool createContact( const TQString &contactId, Kopete::MetaContact *parentContact ); + virtual bool createContact( const TQString &contactId, Kopete::MetaContact *tqparentContact ); private slots: @@ -134,7 +135,7 @@ private slots: void slotOpenInbox(); void slotChangePublicName(); -//#if !defined NDEBUG //(Stupid moc which don't see when he don't need to slot this slot) +//#if !defined NDEBUG //(Stupid tqmoc which don't see when he don't need to slot this slot) /** * Show simple debugging aid */ @@ -227,7 +228,7 @@ private: public: //FIXME: should be private TQMap<TQString, Kopete::Group*> m_groupList; - void addGroup( const TQString &groupName, const TQString &contactToAdd = TQString::null ); + void addGroup( const TQString &groupName, const TQString &contactToAdd = TQString() ); /** * Find and retrive a MSNContact by its contactGuid. (Helper function) |