summaryrefslogtreecommitdiffstats
path: root/src/otrlchatinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/otrlchatinterface.h')
-rw-r--r--src/otrlchatinterface.h9
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 {