From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: 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 --- kopete/protocols/oscar/icq/icqaccount.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'kopete/protocols/oscar/icq/icqaccount.h') diff --git a/kopete/protocols/oscar/icq/icqaccount.h b/kopete/protocols/oscar/icq/icqaccount.h index d64fe5d7..256c54dd 100644 --- a/kopete/protocols/oscar/icq/icqaccount.h +++ b/kopete/protocols/oscar/icq/icqaccount.h @@ -34,6 +34,7 @@ class OscarVisibilityDialog; class ICQMyselfContact : public OscarMyselfContact { Q_OBJECT + TQ_OBJECT public: ICQMyselfContact( ICQAccount *acct ); void userInfoUpdated(); @@ -47,9 +48,10 @@ public slots: class ICQAccount : public OscarAccount { Q_OBJECT + TQ_OBJECT public: - ICQAccount( Kopete::Protocol *parent, TQString accountID, const char *name = 0L ); + ICQAccount( Kopete::Protocol *tqparent, TQString accountID, const char *name = 0L ); virtual ~ICQAccount(); ICQProtocol *protocol(); @@ -67,7 +69,7 @@ public: void setUserProfile( const TQString &profile ); protected: - virtual OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *parentContact, const SSI& ssiItem ); + virtual OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *tqparentContact, const SSI& ssiItem ); virtual TQString sanitizedMessage( const TQString& message ); @@ -79,10 +81,10 @@ private: ICQ::Presence presence(); void setInvisible( ICQ::Presence::Visibility ); - void setPresenceType( ICQ::Presence::Type, const TQString &awayMessage = TQString::null ); - void setPresenceTarget( const ICQ::Presence &presence, const TQString &message = TQString::null ); + void setPresenceType( ICQ::Presence::Type, const TQString &awayMessage = TQString() ); + void setPresenceTarget( const ICQ::Presence &presence, const TQString &message = TQString() ); - //const unsigned long fullStatus( const unsigned long plainStatus ); + //const unsigned long fulltqStatus( const unsigned long plaintqStatus ); private slots: void slotToggleInvisible(); -- cgit v1.2.1