summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwaccount.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/groupwise/gwaccount.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/groupwise/gwaccount.h')
-rw-r--r--kopete/protocols/groupwise/gwaccount.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kopete/protocols/groupwise/gwaccount.h b/kopete/protocols/groupwise/gwaccount.h
index 2e8f8348..fd137154 100644
--- a/kopete/protocols/groupwise/gwaccount.h
+++ b/kopete/protocols/groupwise/gwaccount.h
@@ -58,7 +58,7 @@ class GroupWiseAccount : public Kopete::ManagedConnectionAccount
{
Q_OBJECT
public:
- GroupWiseAccount( GroupWiseProtocol *parent, const QString& accountID, const char *name = 0 );
+ GroupWiseAccount( GroupWiseProtocol *parent, const TQString& accountID, const char *name = 0 );
~GroupWiseAccount();
/**
@@ -73,7 +73,7 @@ public:
* Creates a protocol specific Kopete::Contact subclass and adds it to the supplied
* Kopete::MetaContact
*/
- virtual bool createContact(const QString& contactId, Kopete::MetaContact* parentContact);
+ virtual bool createContact(const TQString& contactId, Kopete::MetaContact* parentContact);
/**
* Delete a contact on the server
*/
@@ -81,7 +81,7 @@ public:
/**
* Called when Kopete is set globally away
*/
- virtual void setAway(bool away, const QString& reason);
+ virtual void setAway(bool away, const TQString& reason);
/**
* Utility access to the port given by the user
*/
@@ -89,7 +89,7 @@ public:
/**
* Utility access to the server given by the user
*/
- const QString server() const;
+ const TQString server() const;
/**
* Utility access to our protocol
*/
@@ -108,11 +108,11 @@ public:
* Look up a contact given a DN
* Returns 0 if none found
*/
- GroupWiseContact * contactForDN( const QString & dn );
+ GroupWiseContact * contactForDN( const TQString & dn );
/**
* Create a conference (start a chat) on the server
*/
- void createConference( const int clientId, const QStringList& invitees );
+ void createConference( const int clientId, const TQStringList& invitees );
/**
* Send a message
@@ -122,17 +122,17 @@ public:
/**
* Invite someone to join a conference
*/
- void sendInvitation( const ConferenceGuid & guid, const QString & dn, const QString & message );
+ void sendInvitation( const ConferenceGuid & guid, const TQString & dn, const TQString & message );
/**
* Check a contact's blocking status
* Only works when connected - otherwise always returns false
*/
- bool isContactBlocked( const QString & m_dn );
+ bool isContactBlocked( const TQString & m_dn );
/**
* Set up a temporary contact (not on our contact list but is messaging us or involved in a conversation that we have been invited to.
*/
- GroupWiseContact * createTemporaryContact( const QString & dn );
+ GroupWiseContact * createTemporaryContact( const TQString & dn );
/**
* Check whether sync is not currently needed
@@ -146,20 +146,20 @@ public slots:
void slotTestRTFize();
/* Connects to the server. */
- void performConnectWithPassword ( const QString &password );
+ void performConnectWithPassword ( const TQString &password );
/* Disconnects from the server. */
virtual void disconnect();
virtual void disconnect( Kopete::Account::DisconnectReason reason );
/** Set the online status for the account. 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);
signals:
void conferenceCreated( const int mmId, const GroupWise::ConferenceGuid & guid );
void conferenceCreationFailed( const int mmId, const int statusCode );
void contactTyping( const ConferenceEvent & );
void contactNotTyping( const ConferenceEvent & );
- void privacyChanged( const QString & dn, bool allowed );
+ void privacyChanged( const TQString & dn, bool allowed );
protected slots:
@@ -224,11 +224,11 @@ protected slots:
/**
* A contact changed status
*/
- void receiveStatus( const QString &, Q_UINT16, const QString & );
+ void receiveStatus( const TQString &, Q_UINT16, const TQString & );
/**
* Our status changed on the server
*/
- void changeOurStatus( GroupWise::Status, const QString &, const QString & );
+ void changeOurStatus( GroupWise::Status, const TQString &, const TQString & );
/**
* Called when we've been disconnected for logging in as this user somewhere else
*/
@@ -244,7 +244,7 @@ protected slots:
/**
* We joined a conference having accepted an invitation, create a message manager
*/
- void receiveConferenceJoin( const GroupWise::ConferenceGuid & guid, const QStringList & participants, const QStringList & invitees );
+ void receiveConferenceJoin( const GroupWise::ConferenceGuid & guid, const TQStringList & participants, const TQStringList & invitees );
/**
* Someone joined a conference, add them to the appropriate message manager
*/
@@ -306,9 +306,9 @@ protected:
/**
* Sends a status message to the server - called by the status specific slotGoAway etc
*/
- //void setStatus( GroupWise::Status status, const QString & reason = QString::null );
+ //void setStatus( GroupWise::Status status, const TQString & reason = TQString::null );
- int handleTLSWarning (int warning, QString server, QString accountId);
+ int handleTLSWarning (int warning, TQString server, TQString accountId);
GroupWiseChatSession * findChatSessionByGuid( const GroupWise::ConferenceGuid & guid );
/**
@@ -333,8 +333,8 @@ private:
// Client, entry point of libgroupwise
Client * m_client;
- QString m_initialReason;
- QValueList<GroupWiseChatSession*> m_chatSessions;
+ TQString m_initialReason;
+ TQValueList<GroupWiseChatSession*> m_chatSessions;
bool m_dontSync;
GWContactList * m_serverListModel;
};
@@ -347,14 +347,14 @@ private:
{
Q_OBJECT
public:
- OnlineStatusMessageAction ( const Kopete::OnlineStatus& status, const QString &text, const QString &message, const QIconSet &pix, QObject *parent=0, const char *name=0);
+ OnlineStatusMessageAction ( const Kopete::OnlineStatus& status, const TQString &text, const TQString &message, const TQIconSet &pix, TQObject *parent=0, const char *name=0);
signals:
- void activated( const Kopete::OnlineStatus& status, const QString & );
+ void activated( const Kopete::OnlineStatus& status, const TQString & );
private slots:
void slotActivated();
private:
Kopete::OnlineStatus m_status;
- QString m_message;
+ TQString m_message;
};
*/
#endif