summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetepasswordedaccount.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/libkopete/kopetepasswordedaccount.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/libkopete/kopetepasswordedaccount.h')
-rw-r--r--kopete/libkopete/kopetepasswordedaccount.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/kopete/libkopete/kopetepasswordedaccount.h b/kopete/libkopete/kopetepasswordedaccount.h
index dbec92db..a9fa2f54 100644
--- a/kopete/libkopete/kopetepasswordedaccount.h
+++ b/kopete/libkopete/kopetepasswordedaccount.h
@@ -35,30 +35,31 @@ class Password;
class KOPETE_EXPORT PasswordedAccount : public Account
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* KopetePasswordedAccount constructor
- * @param parent The protocol this account connects via
+ * @param tqparent The protocol this account connects via
* @param acctId The ID of this account - should be unique within this protocol
* @param maxPasswordLength The maximum length for passwords for this account, or 0 for no limit
- * @param name The name for this QObject
+ * @param name The name for this TQObject
*
* @deprecated Use the constructor that specifies if a blank password is allowed
*/
- PasswordedAccount( Protocol *parent, const TQString &acctId, uint maxPasswordLength = 0, const char *name = 0 );
+ PasswordedAccount( Protocol *tqparent, const TQString &acctId, uint maxPasswordLength = 0, const char *name = 0 );
/**
* KopetePasswordedAccount constructor
- * @param parent The protocol this account connects via
+ * @param tqparent The protocol this account connects via
* @param acctId The ID of this account - should be unique within this protocol
* @param maxPasswordLength The maximum length for passwords for this account, or 0 for no limit
* @param allowBlankPassword If this protocol allows blank passwords. Note that this will mean that
*
- * @param name The name for this QObject
+ * @param name The name for this TQObject
*/
- PasswordedAccount( Protocol *parent, const TQString &acctId, uint maxPasswordLength = 0,
+ PasswordedAccount( Protocol *tqparent, const TQString &acctId, uint maxPasswordLength = 0,
bool allowBlankPassword = false, const char *name = 0 );
virtual ~PasswordedAccount();
@@ -73,15 +74,15 @@ public:
/**
* @brief Go online for this service.
*
- * @param initialStatus is the status to connect with. If it is an invalid status for this
+ * @param initialtqStatus is the status to connect with. If it is an invalid status for this
* account, the default online for the account should be used.
*/
- void connect( const OnlineStatus& initialStatus );
+ void connect( const OnlineStatus& initialtqStatus );
/**
* \brief Get the initial status
*/
- OnlineStatus initialStatus();
+ OnlineStatus initialtqStatus();
/**
* @brief Remove the account from the server.
@@ -97,7 +98,7 @@ public:
public slots:
/**
* Called when your account should attempt to connect.
- * @param password The password to connect with, or TQString::null
+ * @param password The password to connect with, or TQString()
* if the user wished to cancel the connection attempt.
*/
virtual void connectWithPassword( const TQString &password ) = 0;