diff options
Diffstat (limited to 'kopete/protocols/jabber/jabberaccount.h')
-rw-r--r-- | kopete/protocols/jabber/jabberaccount.h | 34 |
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 |