summaryrefslogtreecommitdiffstats
path: root/src/otrlchatinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/otrlchatinterface.h')
-rw-r--r--src/otrlchatinterface.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/otrlchatinterface.h b/src/otrlchatinterface.h
index 9fcf632..1fa499b 100644
--- a/src/otrlchatinterface.h
+++ b/src/otrlchatinterface.h
@@ -25,11 +25,11 @@
* @author Michael Zanetti
*/
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
-#include <qthread.h>
-#include <qmutex.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
+#include <tqthread.h>
+#include <tqmutex.h>
#include <kopetechatsession.h>
@@ -40,47 +40,47 @@ extern "C" {
#include <libotr/userstate.h>
}
-class OtrlChatInterface: public QObject
+class OtrlChatInterface: public TQObject
{
public:
~OtrlChatInterface();
static OtrlChatInterface *self();
- int decryptMessage( QString *msg, QString accountId, QString protocol, QString contactId, Kopete::ChatSession *chatSession );
- QString encryptMessage( QString msg, QString accountId,
- QString protocol, QString contactId , Kopete::ChatSession *chatSession );
- QString getDefaultQuery( QString accountId );
+ int decryptMessage( TQString *msg, TQString accountId, TQString protocol, TQString contactId, Kopete::ChatSession *chatSession );
+ TQString encryptMessage( TQString msg, TQString accountId,
+ TQString protocol, TQString contactId , Kopete::ChatSession *chatSession );
+ TQString getDefaultQuery( TQString accountId );
void disconnectSession( Kopete::ChatSession *chatSession );
void setPolicy( OtrlPolicy policy );
- bool shouldDiscard( QString message );
+ bool shouldDiscard( TQString message );
OtrlUserState getUserstate();
int privState( Kopete::ChatSession *session );
- QString formatContact(QString contactId);
+ TQString formatContact(TQString contactId);
bool isVerified( Kopete::ChatSession *session );
void updateKeyfile( Kopete::Account *account );
- void checkFilePermissions( QString file );
-// bool verifyQuestion( Kopete::ChatSession *session, QString fingerprint );
- QString findActiveFingerprint( Kopete::ChatSession *session );
+ void checkFilePermissions( TQString file );
+// bool verifyQuestion( Kopete::ChatSession *session, TQString fingerprint );
+ TQString findActiveFingerprint( Kopete::ChatSession *session );
void verifyFingerprint( Kopete::ChatSession *session );
void abortSMP( ConnContext *context, Kopete::ChatSession *session );
- void respondSMP( ConnContext *context, Kopete::ChatSession *session, QString secret, bool initiate );
+ void respondSMP( ConnContext *context, Kopete::ChatSession *session, TQString secret, bool initiate );
void setTrust( Kopete::ChatSession *session, bool trust );
private:
OtrlChatInterface();
static OtrlChatInterface *mSelf;
- Fingerprint *findFingerprint( QString username );
+ Fingerprint *findFingerprint( TQString username );
};
- class KeyGenThread : public QThread {
+ class KeyGenThread : public TQThread {
private:
- QString accountname;
- QString protocol;
+ TQString accountname;
+ TQString protocol;
public:
- KeyGenThread( QString accountname, QString protocol );
+ KeyGenThread( TQString accountname, TQString protocol );
virtual void run();
};