X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsslserver.h;h=bd72f29b22a7dae850a39936715505fce3255f43;hb=446caa053a85a00ef1f2ed393b5a0da761d6f2d1;hp=d8a8bba68d07047b05b33c9ee3e1667a73a98e1f;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222;p=quassel.git diff --git a/src/core/sslserver.h b/src/core/sslserver.h index d8a8bba6..bd72f29b 100644 --- a/src/core/sslserver.h +++ b/src/core/sslserver.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -43,7 +43,12 @@ public: virtual inline bool isCertValid() const { return _isCertValid; } protected: +#if QT_VERSION >= 0x050000 + virtual void incomingConnection(qintptr socketDescriptor); +#else virtual void incomingConnection(int socketDescriptor); +#endif + virtual bool setCertificate(const QString &path); private: