summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/winpopup/wpaccount.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/winpopup/wpaccount.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/winpopup/wpaccount.h')
-rw-r--r--kopete/protocols/winpopup/wpaccount.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kopete/protocols/winpopup/wpaccount.h b/kopete/protocols/winpopup/wpaccount.h
index ae3744de..eb343541 100644
--- a/kopete/protocols/winpopup/wpaccount.h
+++ b/kopete/protocols/winpopup/wpaccount.h
@@ -48,10 +48,11 @@ class KopeteWinPopup;
class WPAccount : public Kopete::Account
{
Q_OBJECT
+ TQ_OBJECT
// Kopete::Account overloading
public:
- WPAccount(WPProtocol *parent, const TQString& accountID, const char *name = 0);
+ WPAccount(WPProtocol *tqparent, const TQString& accountID, const char *name = 0);
~WPAccount();
virtual KActionMenu* actionMenu(); // Per-protocol actions for the systray and the status bar
@@ -61,8 +62,8 @@ public slots:
virtual void connect(const Kopete::OnlineStatus &); // Connect to server
virtual void disconnect(); // Disconnect from server
- void goAvailable() { setAway(false, TQString::null); } // Two convenience slots
- void goAway() { setAway(true, TQString::null); } // for available and away
+ void goAvailable() { setAway(false, TQString()); } // Two convenience slots
+ void goAway() { setAway(true, TQString()); } // for available and away
// Stuff used internally & by colleague classes
public:
@@ -88,10 +89,10 @@ public slots:
void slotGotNewMessage(const TQString &Body, const TQDateTime &Arrival, const TQString &From);
/* Reimplemented from Kopete::Account */
- void setOnlineStatus( const Kopete::OnlineStatus &status , const TQString &reason = TQString::null);
+ void setOnlineStatus( const Kopete::OnlineStatus &status , const TQString &reason = TQString());
protected:
- virtual bool createContact(const TQString &contactId, Kopete::MetaContact *parentContact);
+ virtual bool createContact(const TQString &contactId, Kopete::MetaContact *tqparentContact);
private slots:
// void updateAccountId();
@@ -104,4 +105,4 @@ private:
#endif
// vim: set noet ts=4 sts=4 sw=4:
-// kate: tab-width 4; indent-width 4; replace-trailing-space-save on;
+// kate: tab-width 4; indent-width 4; tqreplace-trailing-space-save on;