_codecForDecoding(0)
{
updateObjectName();
+
+ #ifdef HAVE_QCA2
+ _cipher = 0;
+ #endif
}
IrcUser::~IrcUser() {
_lastSpokenTo[buffer] = time;
emit lastSpokenToUpdated(buffer, time);
}
+
+#ifdef HAVE_QCA2
+Cipher* IrcUser::cipher() {
+ if(!_cipher)
+ _cipher = new Cipher();
+ return _cipher;
+}
+#endif
+
+void IrcUser::setEncrypted(bool e) {
+ Q_UNUSED(e);
+ // TODO
+}
\ No newline at end of file