summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/aim/aimaccount.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/oscar/aim/aimaccount.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-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/aim/aimaccount.h')
-rw-r--r--kopete/protocols/oscar/aim/aimaccount.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kopete/protocols/oscar/aim/aimaccount.h b/kopete/protocols/oscar/aim/aimaccount.h
index 2df309b6..35c7adb5 100644
--- a/kopete/protocols/oscar/aim/aimaccount.h
+++ b/kopete/protocols/oscar/aim/aimaccount.h
@@ -53,6 +53,7 @@ class OscarVisibilityDialog;
class AIMMyselfContact : public OscarMyselfContact
{
Q_OBJECT
+ TQ_OBJECT
public:
AIMMyselfContact( AIMAccount *acct );
void userInfoUpdated();
@@ -62,7 +63,7 @@ public:
TQString lastAwayMessage() { return m_lastAwayMessage; };
virtual Kopete::ChatSession* manager( Kopete::Contact::CanCreateFlags = Kopete::Contact::CannotCreate,
- WORD exchange = 0, const TQString& room = TQString::null);
+ WORD exchange = 0, const TQString& room = TQString());
public slots:
void sendMessage( Kopete::Message&, Kopete::ChatSession* session );
@@ -83,15 +84,16 @@ private:
class AIMAccount : public OscarAccount
{
Q_OBJECT
+ TQ_OBJECT
public:
- AIMAccount(Kopete::Protocol *parent, TQString accountID, const char *name=0L);
+ AIMAccount(Kopete::Protocol *tqparent, TQString accountID, const char *name=0L);
virtual ~AIMAccount();
// Accessor method for the action menu
virtual KActionMenu* actionMenu();
- void setAway(bool away, const TQString &awayReason = TQString::null );
+ void setAway(bool away, const TQString &awayReason = TQString() );
virtual void connectWithPassword( const TQString &password );
@@ -101,7 +103,7 @@ public:
public slots:
/** Reimplementation from Kopete::Account */
- void setOnlineStatus( const Kopete::OnlineStatus& status, const TQString& reason = TQString::null );
+ void setOnlineStatus( const Kopete::OnlineStatus& status, const TQString& reason = TQString() );
void slotEditInfo();
void slotGoOnline();
@@ -131,7 +133,7 @@ protected:
* Implement virtual method from OscarAccount
* This allows OscarAccount to take care of adding new contacts
*/
- OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *parentContact, const SSI& ssiItem );
+ OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *tqparentContact, const SSI& ssiItem );
TQString sanitizedMessage( const TQString& message );