projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat ALL the source!
[quassel.git]
/
src
/
core
/
coreircuser.cpp
diff --git
a/src/core/coreircuser.cpp
b/src/core/coreircuser.cpp
index
367474b
..
17b12d5
100644
(file)
--- a/
src/core/coreircuser.cpp
+++ b/
src/core/coreircuser.cpp
@@
-20,29
+20,37
@@
#include "coreircuser.h"
#include "coreircuser.h"
-CoreIrcUser::CoreIrcUser(const QString &hostmask, Network *network) : IrcUser(hostmask, network) {
+CoreIrcUser::CoreIrcUser(const QString &hostmask, Network *network) : IrcUser(hostmask, network)
+{
#ifdef HAVE_QCA2
#ifdef HAVE_QCA2
- _cipher = 0;
+
_cipher = 0;
#endif
}
#endif
}
-CoreIrcUser::~CoreIrcUser() {
+
+CoreIrcUser::~CoreIrcUser()
+{
#ifdef HAVE_QCA2
#ifdef HAVE_QCA2
- delete _cipher;
+
delete _cipher;
#endif
}
#endif
}
+
#ifdef HAVE_QCA2
#ifdef HAVE_QCA2
-Cipher *CoreIrcUser::cipher() const {
- if(!_cipher)
- _cipher = new Cipher();
+Cipher *CoreIrcUser::cipher() const
+{
+ if (!_cipher)
+ _cipher = new Cipher();
- return _cipher;
+
return _cipher;
}
}
-void CoreIrcUser::setEncrypted(bool e) {
- Q_UNUSED(e);
- // TODO
+
+void CoreIrcUser::setEncrypted(bool e)
+{
+ Q_UNUSED(e);
+ // TODO
}
}
+
#endif
#endif