summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Knauß <knauss@kolabsys.com>2014-05-30 15:46:49 (GMT)
committerSandro Knauß <knauss@kolabsys.com>2014-05-30 15:47:26 (GMT)
commite85dc5fb78c91046596fc060a495be2106e552d9 (patch)
tree6e5f5a90eb8f152d0a83d38ac650df3aac6b6586
parentbb731504eac98d378c7677b9ca9aa697b3cad735 (diff)
downloadlibcalendaring-e85dc5fb78c91046596fc060a495be2106e552d9.tar.gz
Make sslserver work inside libcalendering.
* replace kDebug -> qDebug * add #include "sslserver.moc"
-rw-r--r--kimap/tests/kimaptest/sslserver.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/kimap/tests/kimaptest/sslserver.cpp b/kimap/tests/kimaptest/sslserver.cpp
index 4b2fb29..4ba7c23 100644
--- a/kimap/tests/kimaptest/sslserver.cpp
+++ b/kimap/tests/kimaptest/sslserver.cpp
@@ -20,7 +20,7 @@
#include <QFile>
#include <QSslKey>
-#include <KDebug>
+#include <QDebug>
static QByteArray staticCert() {
@@ -95,7 +95,7 @@ void SslServer::incomingConnection(int handle)
void SslServer::sslErrors(const QList<QSslError> &errors)
{
foreach (const QSslError &error, errors) {
- kWarning() << "Received ssl error: " << error.errorString();
+ qWarning() << "Received ssl error: " << error.errorString();
}
QSslSocket *socket = qobject_cast<QSslSocket *>(QObject::sender());
if(socket) {
@@ -107,7 +107,9 @@ void SslServer::error(QAbstractSocket::SocketError error)
{
QSslSocket *socket = qobject_cast<QSslSocket *>(QObject::sender());
if(socket) {
- kWarning() << socket->errorString();
+ qWarning() << socket->errorString();
}
- kWarning() << error;
+ qWarning() << error;
}
+
+#include "sslserver.moc"