From 1b9b8e3c30b106485611a77130ddaa203111d77b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 22 Sep 2014 17:22:32 -0500 Subject: Add preliminary untested support for libotr 4.x This relates to Bug 1987 --- src/otrlchatinterface.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/otrlchatinterface.h') diff --git a/src/otrlchatinterface.h b/src/otrlchatinterface.h index 1fa499b..1f2fd3e 100644 --- a/src/otrlchatinterface.h +++ b/src/otrlchatinterface.h @@ -30,6 +30,7 @@ #include #include #include +#include #include @@ -42,6 +43,7 @@ extern "C" { class OtrlChatInterface: public TQObject { + Q_OBJECT public: ~OtrlChatInterface(); @@ -65,12 +67,19 @@ public: void verifyFingerprint( Kopete::ChatSession *session ); void abortSMP( ConnContext *context, Kopete::ChatSession *session ); void respondSMP( ConnContext *context, Kopete::ChatSession *session, TQString secret, bool initiate ); + void respondSMPQ( ConnContext *context, Kopete::ChatSession *session, TQString question, TQString secret, bool initiate ); void setTrust( Kopete::ChatSession *session, bool trust ); + void forwardSecrecyTimerStart(int interval); + void forwardSecrecyTimerStop(); + +private slots: + void otrlMessagePoll(); private: OtrlChatInterface(); static OtrlChatInterface *mSelf; Fingerprint *findFingerprint( TQString username ); + TQTimer m_forwardSecrecyTimer; }; class KeyGenThread : public TQThread { -- cgit v1.2.1