diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 17:22:32 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 17:22:32 -0500 |
commit | 1b9b8e3c30b106485611a77130ddaa203111d77b (patch) | |
tree | 6fe3d7cd99246e5ef52dd73226610858be9f2baa /src/otrlchatinterface.h | |
parent | c8e8b9c67e66818b15e29929f8a0ca36a1e94d45 (diff) | |
download | kopete-otr-1b9b8e3c30b106485611a77130ddaa203111d77b.tar.gz kopete-otr-1b9b8e3c30b106485611a77130ddaa203111d77b.zip |
Add preliminary untested support for libotr 4.x
This relates to Bug 1987
Diffstat (limited to 'src/otrlchatinterface.h')
-rw-r--r-- | src/otrlchatinterface.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <tqvaluelist.h> #include <tqthread.h> #include <tqmutex.h> +#include <tqtimer.h> #include <kopetechatsession.h> @@ -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 { |