/***************************************************************************
- * Copyright (C) 2005-2014 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 *
virtual inline bool isCertValid() const { return _isCertValid; }
protected:
+#if QT_VERSION >= 0x050000
+ virtual void incomingConnection(qintptr socketDescriptor);
+#else
virtual void incomingConnection(int socketDescriptor);
- virtual bool setCertificate(const QString &path);
+#endif
+
+ virtual bool setCertificate(const QString &path, const QString &keyPath);
private:
QLinkedList<QTcpSocket *> _pendingConnections;