summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/msnnotifysocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/msnnotifysocket.h')
-rw-r--r--kopete/protocols/msn/msnnotifysocket.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/kopete/protocols/msn/msnnotifysocket.h b/kopete/protocols/msn/msnnotifysocket.h
index 7f915410..e8c22158 100644
--- a/kopete/protocols/msn/msnnotifysocket.h
+++ b/kopete/protocols/msn/msnnotifysocket.h
@@ -44,34 +44,34 @@ class MSNNotifySocket : public MSNSocket
Q_OBJECT
public:
- MSNNotifySocket( MSNAccount* account, const QString &msnId, const QString &password );
+ MSNNotifySocket( MSNAccount* account, const TQString &msnId, const TQString &password );
~MSNNotifySocket();
virtual void disconnect();
void setStatus( const Kopete::OnlineStatus &status );
- void addContact( const QString &handle, int list, const QString& publicName, const QString& contactGuid, const QString& groupGuid );
- void removeContact( const QString &handle, int list, const QString &contactGuid, const QString &groupGuid );
+ void addContact( const TQString &handle, int list, const TQString& publicName, const TQString& contactGuid, const TQString& groupGuid );
+ void removeContact( const TQString &handle, int list, const TQString &contactGuid, const TQString &groupGuid );
- void addGroup( const QString& groupName );
- void removeGroup( const QString& group );
- void renameGroup( const QString& groupName, const QString& groupGuid );
+ void addGroup( const TQString& groupName );
+ void removeGroup( const TQString& group );
+ void renameGroup( const TQString& groupName, const TQString& groupGuid );
- void changePublicName( const QString& publicName , const QString &handle=QString::null );
- void changePersonalMessage( MSNProtocol::PersonalMessageType type , const QString& personalMessage );
+ void changePublicName( const TQString& publicName , const TQString &handle=TQString::null );
+ void changePersonalMessage( MSNProtocol::PersonalMessageType type , const TQString& personalMessage );
- void changePhoneNumber( const QString &key, const QString &data );
+ void changePhoneNumber( const TQString &key, const TQString &data );
void createChatSession();
- void sendMail(const QString &email);
+ void sendMail(const TQString &email);
/**
* this should return a Kopete::Account::DisconnectReason value
*/
int disconnectReason() { return m_disconnectReason; }
- QString localIP() { return m_localIP; }
+ TQString localIP() { return m_localIP; }
bool setUseHttpMethod( bool useHttpMethod );
@@ -84,19 +84,19 @@ public slots:
signals:
void newContactList();
- void contactList(const QString& handle, const QString& publicName, const QString &contactGuid, uint lists, const QString& groups);
- void contactStatus(const QString&, const QString&, const QString& );
- void contactAdded(const QString& handle, const QString& list, const QString& publicName, const QString& contactGuid, const QString& groupGuid);
- //void contactRemoved(const QString&, const QString&, uint);
- void contactRemoved(const QString& handle, const QString& list, const QString& contactGuid, const QString& groupGuid);
+ void contactList(const TQString& handle, const TQString& publicName, const TQString &contactGuid, uint lists, const TQString& groups);
+ void contactStatus(const TQString&, const TQString&, const TQString& );
+ void contactAdded(const TQString& handle, const TQString& list, const TQString& publicName, const TQString& contactGuid, const TQString& groupGuid);
+ //void contactRemoved(const TQString&, const TQString&, uint);
+ void contactRemoved(const TQString& handle, const TQString& list, const TQString& contactGuid, const TQString& groupGuid);
- void groupListed(const QString&, const QString&);
- void groupAdded( const QString&, const QString&);
- void groupRenamed( const QString&, const QString& );
- void groupRemoved( const QString& );
+ void groupListed(const TQString&, const TQString&);
+ void groupAdded( const TQString&, const TQString&);
+ void groupRenamed( const TQString&, const TQString& );
+ void groupRemoved( const TQString& );
- void invitedToChat(const QString&, const QString&, const QString&, const QString&, const QString& );
- void startChat( const QString&, const QString& );
+ void invitedToChat(const TQString&, const TQString&, const TQString&, const TQString&, const TQString& );
+ void startChat( const TQString&, const TQString& );
void statusChanged( const Kopete::OnlineStatus &newStatus );
@@ -107,15 +107,15 @@ signals:
* When the dispatch server sends us the notification server to use, this
* signal is emitted. After this the socket is automatically closed.
*/
- void receivedNotificationServer( const QString &host, uint port );
+ void receivedNotificationServer( const TQString &host, uint port );
protected:
/**
* Handle an MSN command response line.
*/
- virtual void parseCommand( const QString &cmd, uint id,
- const QString &data );
+ virtual void parseCommand( const TQString &cmd, uint id,
+ const TQString &data );
/**
* Handle an MSN error condition.
@@ -136,7 +136,7 @@ private slots:
* We received a message from the server, which is sent as raw data,
* instead of cr/lf line-based text.
*/
- void slotReadMessage( const QByteArray &bytes );
+ void slotReadMessage( const TQByteArray &bytes );
/**
* Send a keepalive to the server to avoid idle connections to cause
@@ -146,18 +146,18 @@ private slots:
void sslLoginFailed();
void sslLoginIncorrect();
- void sslLoginSucceeded(QString ticket);
+ void sslLoginSucceeded(TQString ticket);
private:
/**
* Convert the MSN status strings to a Kopete::OnlineStatus
*/
- Kopete::OnlineStatus convertOnlineStatus( const QString &statusString );
+ Kopete::OnlineStatus convertOnlineStatus( const TQString &statusString );
MSNAccount *m_account;
- QString m_password;
- QStringList m_msnAlertURLs;
+ TQString m_password;
+ TQStringList m_msnAlertURLs;
unsigned int mailCount;
@@ -166,30 +166,30 @@ private:
/**
* Convert an entry of the Status enum back to a string
*/
- QString statusToString( const Kopete::OnlineStatus &status ) const;
+ TQString statusToString( const Kopete::OnlineStatus &status ) const;
/**
* Process the CurrentMedia XML element.
* @param mediaXmlElement the source XML element as text.
*/
- QString processCurrentMedia( const QString &mediaXmlElement );
+ TQString processCurrentMedia( const TQString &mediaXmlElement );
//know the last handle used
- QString m_tmpLastHandle;
- QMap <unsigned int,QString> m_tmpHandles;
- QString m_configFile;
+ TQString m_tmpLastHandle;
+ TQMap <unsigned int,TQString> m_tmpHandles;
+ TQString m_configFile;
//for hotmail inbox opening
bool m_isHotmailAccount;
- QString m_MSPAuth;
- QString m_kv;
- QString m_sid;
- QString m_loginTime;
- QString m_localIP;
+ TQString m_MSPAuth;
+ TQString m_kv;
+ TQString m_sid;
+ TQString m_loginTime;
+ TQString m_localIP;
MSNSecureLoginHandler *m_secureLoginHandler;
MSNChallengeHandler *m_challengeHandler;
- QTimer *m_keepaliveTimer;
+ TQTimer *m_keepaliveTimer;
bool m_ping;
@@ -199,7 +199,7 @@ private:
* Used to set the myself() personalMessage when the acknowledge(UUX) command is received.
* The personalMessage is built into @ref changePersonalMessage
*/
- QString m_propertyPersonalMessage;
+ TQString m_propertyPersonalMessage;
/**
* Used to tell when we are logged in to MSN Messeger service.