diff options
Diffstat (limited to 'kopete/kopete/kimifaceimpl.h')
-rw-r--r-- | kopete/kopete/kimifaceimpl.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kopete/kopete/kimifaceimpl.h b/kopete/kopete/kimifaceimpl.h index ff8c3611..e5635195 100644 --- a/kopete/kopete/kimifaceimpl.h +++ b/kopete/kopete/kimifaceimpl.h @@ -17,7 +17,7 @@ #ifndef KIMIFACEIMPL_H #define KIMIFACEIMPL_H -#include <qobject.h> +#include <tqobject.h> #include "kimiface.h" namespace Kopete @@ -25,72 +25,72 @@ namespace Kopete class MetaContact; } -class KIMIfaceImpl : public QObject, public KIMIface +class KIMIfaceImpl : public TQObject, public KIMIface { Q_OBJECT public: KIMIfaceImpl(); ~KIMIfaceImpl(); - QStringList allContacts(); - QStringList reachableContacts(); - QStringList onlineContacts(); - QStringList fileTransferContacts(); + TQStringList allContacts(); + TQStringList reachableContacts(); + TQStringList onlineContacts(); + TQStringList fileTransferContacts(); // individual - bool isPresent( const QString &uid ); - QString displayName( const QString &uid ); - QString presenceString( const QString &uid ); - int presenceStatus( const QString &uid ); - bool canReceiveFiles( const QString &uid ); - bool canRespond( const QString &uid ); - QString locate( const QString &contactId, const QString &protocol ); + bool isPresent( const TQString &uid ); + TQString displayName( const TQString &uid ); + TQString presenceString( const TQString &uid ); + int presenceStatus( const TQString &uid ); + bool canReceiveFiles( const TQString &uid ); + bool canRespond( const TQString &uid ); + TQString locate( const TQString &contactId, const TQString &protocol ); // metadata - QPixmap icon( const QString &uid ); - QString context( const QString &uid ); + TQPixmap icon( const TQString &uid ); + TQString context( const TQString &uid ); // App capabilities - QStringList protocols(); + TQStringList protocols(); // ACTORS /** * Message a contact by their metaContactId, aka their uid in KABC. */ - void messageContact( const QString &uid, const QString& message ); + void messageContact( const TQString &uid, const TQString& message ); /** * Open a chat to a contact, and optionally set some initial text */ - void messageNewContact( const QString &contactId, const QString &protocolId ); + void messageNewContact( const TQString &contactId, const TQString &protocolId ); /** * Message a contact by their metaContactId, aka their uid in KABC. */ - void chatWithContact( const QString &uid ); + void chatWithContact( const TQString &uid ); /** * Send the file to the contact */ - void sendFile(const QString &uid, const KURL &sourceURL, - const QString &altFileName = QString::null, uint fileSize = 0); + void sendFile(const TQString &uid, const KURL &sourceURL, + const TQString &altFileName = TQString::null, uint fileSize = 0); // MUTATORS // Contact list - bool addContact( const QString &contactId, const QString &protocolId ); + bool addContact( const TQString &contactId, const TQString &protocolId ); // SIGNALS /** * DCOP Signal used to notify * external apps of status changes. */ - void contactStatusChanged( const QString &uid); + void contactStatusChanged( const TQString &uid); protected: - void unknown( const QString &uid ); + void unknown( const TQString &uid ); protected slots: void slotMetaContactAdded( Kopete::MetaContact *mc ); void slotContactStatusChanged( Kopete::MetaContact *mc ); private: - Kopete::MetaContact *locateProtocolContact( const QString & contactId, const QString & protocolId ); + Kopete::MetaContact *locateProtocolContact( const TQString & contactId, const TQString & protocolId ); }; #endif |