summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/oscaraccount.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/oscar/oscaraccount.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/oscar/oscaraccount.h')
-rw-r--r--kopete/protocols/oscar/oscaraccount.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/oscar/oscaraccount.h b/kopete/protocols/oscar/oscaraccount.h
index aa8e806d..d135df3a 100644
--- a/kopete/protocols/oscar/oscaraccount.h
+++ b/kopete/protocols/oscar/oscaraccount.h
@@ -18,9 +18,9 @@
#ifndef OSCARACCOUNT_H
#define OSCARACCOUNT_H
-#include <qdict.h>
-#include <qstring.h>
-#include <qwidget.h>
+#include <tqdict.h>
+#include <tqstring.h>
+#include <tqwidget.h>
#include "kopetepasswordedaccount.h"
#include "oscartypeclasses.h"
@@ -44,7 +44,7 @@ class KDE_EXPORT OscarAccount : public Kopete::PasswordedAccount
Q_OBJECT
public:
- OscarAccount(Kopete::Protocol *parent, const QString &accountID, const char *name=0L, bool isICQ=false);
+ OscarAccount(Kopete::Protocol *parent, const TQString &accountID, const char *name=0L, bool isICQ=false);
virtual ~OscarAccount();
/** Provide the derived accounts and contacts with access to the backend */
@@ -67,7 +67,7 @@ public:
/**
* Sets the account away
*/
- virtual void setAway( bool away, const QString &awayMessage = QString::null ) = 0;
+ virtual void setAway( bool away, const TQString &awayMessage = TQString::null ) = 0;
/**
* Accessor method for the action menu
@@ -75,25 +75,25 @@ public:
virtual KActionMenu* actionMenu() = 0;
/** Set the server address */
- void setServerAddress( const QString& server );
+ void setServerAddress( const TQString& server );
/** Set the server port */
void setServerPort( int port );
/** Returns codec for account's default encoding */
- QTextCodec* defaultCodec() const;
+ TQTextCodec* defaultCodec() const;
/**
* Returns codec for given contact's encoding or default one
* if contact has no encoding
*/
- QTextCodec* contactCodec( const OscarContact* contact ) const;
+ TQTextCodec* contactCodec( const OscarContact* contact ) const;
/**
* Returns codec for given contact's encoding or default one
* if contact has no encoding
*/
- QTextCodec* contactCodec( const QString& contactName ) const;
+ TQTextCodec* contactCodec( const TQString& contactName ) const;
/**
* Sets buddy icon
@@ -107,7 +107,7 @@ public:
* \param autoAddGroup if the group doesn't exist add that group
* \return true if the contact will be added
*/
- bool addContactToSSI( const QString& contactName, const QString& groupName, bool autoAddGroup );
+ bool addContactToSSI( const TQString& contactName, const TQString& groupName, bool autoAddGroup );
/**
* Change a contact's group on the server
@@ -116,7 +116,7 @@ public:
* \param autoAddGroup if the new group doesn't exist add that group
* \return true if the contact will be added
*/
- bool changeContactGroupInSSI( const QString& contact, const QString& newGroupName, bool autoAddGroup );
+ bool changeContactGroupInSSI( const TQString& contact, const TQString& newGroupName, bool autoAddGroup );
public slots:
void slotGoOffline();
@@ -127,12 +127,12 @@ protected:
/**
* Setup a connection for a derived account based on the host and port
*/
- Connection* setupConnection( const QString& server, uint port );
+ Connection* setupConnection( const TQString& server, uint port );
/**
* Adds a contact to a meta contact
*/
- virtual bool createContact(const QString &contactId,
+ virtual bool createContact(const TQString &contactId,
Kopete::MetaContact *parentContact );
/**
@@ -142,9 +142,9 @@ protected:
* @param parentContact the parent metacontact
* @return whether the creation succeeded or not
*/
- virtual OscarContact *createNewContact( const QString &contactId, Kopete::MetaContact *parentContact, const SSI& ssiItem ) = 0;
+ virtual OscarContact *createNewContact( const TQString &contactId, Kopete::MetaContact *parentContact, const SSI& ssiItem ) = 0;
- virtual QString sanitizedMessage( const QString& message ) = 0;
+ virtual TQString sanitizedMessage( const TQString& message ) = 0;
void updateVersionUpdaterStamp();
@@ -157,7 +157,7 @@ protected slots:
void kopeteGroupRemoved( Kopete::Group* g );
void kopeteGroupAdded( Kopete::Group* g );
- void kopeteGroupRenamed( Kopete::Group* g, const QString& oldName );
+ void kopeteGroupRenamed( Kopete::Group* g, const TQString& oldName );
virtual void messageReceived( const Oscar::Message& message );
@@ -169,8 +169,8 @@ protected slots:
void ssiContactRemoved( const Oscar::SSI& ) {}
/* slots for receiving typing notifications, and notify the appropriate OscarContact */
- void userStartedTyping( const QString & contact );
- void userStoppedTyping( const QString & contact );
+ void userStartedTyping( const TQString & contact );
+ void userStoppedTyping( const TQString & contact );
void nonServerAddContactDialogClosed();
@@ -181,11 +181,11 @@ signals:
void buddyIconChanged();
private:
- QString getFLAPErrorMessage( int code );
+ TQString getFLAPErrorMessage( int code );
private slots:
/** Handler from socket errors from a connection */
- void slotSocketError( int, const QString& );
+ void slotSocketError( int, const TQString& );
/** Handle task errors from the client */
void slotTaskError( const Oscar::SNAC& s, int errCode, bool fatal ) ;