summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberaccount.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/jabber/jabberaccount.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/jabberaccount.h')
-rw-r--r--kopete/protocols/jabber/jabberaccount.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/jabber/jabberaccount.h b/kopete/protocols/jabber/jabberaccount.h
index 3731b590..a2781006 100644
--- a/kopete/protocols/jabber/jabberaccount.h
+++ b/kopete/protocols/jabber/jabberaccount.h
@@ -59,15 +59,15 @@ class JabberAccount : public Kopete::PasswordedAccount
Q_OBJECT
public:
- JabberAccount (JabberProtocol * parent, const QString & accountID, const char *name = 0L);
+ JabberAccount (JabberProtocol * parent, const TQString & accountID, const char *name = 0L);
~JabberAccount ();
/* Returns the action menu for this account. */
virtual KActionMenu *actionMenu ();
/* Return the resource of the client */
- const QString resource () const;
- const QString server () const;
+ const TQString resource () const;
+ const TQString server () const;
const int port () const;
JabberResourcePool *resourcePool ();
@@ -124,9 +124,9 @@ public:
/*
* Handle stream errors. Displays a dialog and returns.
*/
- static void handleStreamError (int streamError, int streamCondition, int connectorCode, const QString &server, Kopete::Account::DisconnectReason &errorClass);
+ static void handleStreamError (int streamError, int streamCondition, int connectorCode, const TQString &server, Kopete::Account::DisconnectReason &errorClass);
- const QMap<QString, JabberTransport *> &transports()
+ const TQMap<TQString, JabberTransport *> &transports()
{ return m_transports; }
@@ -137,7 +137,7 @@ public:
public slots:
/* Connects to the server. */
- void connectWithPassword ( const QString &password );
+ void connectWithPassword ( const TQString &password );
/* Disconnects from the server. */
void disconnect ();
@@ -148,10 +148,10 @@ public slots:
/* Disconnect with a reason, and status */
void disconnect( Kopete::Account::DisconnectReason reason, XMPP::Status &status );
/* Reimplemented from Kopete::Account */
- void setOnlineStatus( const Kopete::OnlineStatus& status , const QString &reason = QString::null);
+ void setOnlineStatus( const Kopete::OnlineStatus& status , const TQString &reason = TQString::null);
- void addTransport( JabberTransport *tr , const QString &jid);
- void removeTransport( const QString &jid );
+ void addTransport( JabberTransport *tr , const TQString &jid);
+ void removeTransport( const TQString &jid );
protected:
@@ -172,7 +172,7 @@ protected:
* @param contactId The unique ID for this protocol
* @param parentContact The metacontact to add this contact to
*/
- virtual bool createContact (const QString & contactID, Kopete::MetaContact * parentContact);
+ virtual bool createContact (const TQString & contactID, Kopete::MetaContact * parentContact);
@@ -211,7 +211,7 @@ private:
*/
bool isConnecting ();
- QMap<QString, JabberTransport *>m_transports;
+ TQMap<TQString, JabberTransport *>m_transports;
/* used in removeAccount() */
bool m_removing;
@@ -247,7 +247,7 @@ private slots:
void slotIncomingFileTransfer ();
/* Called from Psi: debug messages from the backend. */
- void slotClientDebugMessage (const QString &msg);
+ void slotClientDebugMessage (const TQString &msg);
/* Sends a raw message to the server (use with caution) */
void slotSendRaw ();
@@ -257,13 +257,13 @@ private slots:
void slotGroupChatJoined ( const XMPP::Jid &jid );
void slotGroupChatLeft ( const XMPP::Jid &jid );
void slotGroupChatPresence ( const XMPP::Jid &jid, const XMPP::Status &status );
- void slotGroupChatError ( const XMPP::Jid &jid, int error, const QString &reason );
+ void slotGroupChatError ( const XMPP::Jid &jid, int error, const TQString &reason );
/* Incoming subscription request. */
- void slotSubscription ( const XMPP::Jid &jid, const QString &type );
+ void slotSubscription ( const XMPP::Jid &jid, const TQString &type );
/* the dialog that asked to add the contact was closed (that dialog is shown in slotSubscription) */
- void slotContactAddedNotifyDialogClosed(const QString& contactid);
+ void slotContactAddedNotifyDialogClosed(const TQString& contactid);
/**
* A new item appeared in our roster, synch it with the
@@ -295,7 +295,7 @@ private slots:
void slotGetServices ();
/* Update the myself information if the global identity changes. */
- void slotGlobalIdentityChanged( const QString &key, const QVariant &value );
+ void slotGlobalIdentityChanged( const TQString &key, const TQVariant &value );
/* we received a voice invitation */
void slotIncomingVoiceCall(const Jid&);
@@ -303,7 +303,7 @@ private slots:
/* the unregister task finished */
void slotUnregisterFinished();
- //void slotIncomingJingleSession(const QString &sessionType, JingleSession *session);
+ //void slotIncomingJingleSession(const TQString &sessionType, JingleSession *session);
};
#endif