diff --git a/core/kdeconnectconfig.cpp b/core/kdeconnectconfig.cpp index 6b14e1b0e..f95c8ecbb 100644 --- a/core/kdeconnectconfig.cpp +++ b/core/kdeconnectconfig.cpp @@ -179,16 +179,6 @@ QString KdeConnectConfig::privateKeyPath() return baseConfigDir().absoluteFilePath(QStringLiteral("privateKey.pem")); } -QCA::PrivateKey KdeConnectConfig::privateKey() -{ - return d->m_privateKey; -} - -QCA::PublicKey KdeConnectConfig::publicKey() -{ - return d->m_privateKey.toPublicKey(); -} - QString KdeConnectConfig::certificatePath() { return baseConfigDir().absoluteFilePath(QStringLiteral("certificate.pem")); diff --git a/core/kdeconnectconfig.h b/core/kdeconnectconfig.h index 35609f7d3..e8a9dfb07 100644 --- a/core/kdeconnectconfig.h +++ b/core/kdeconnectconfig.h @@ -26,10 +26,6 @@ #include "kdeconnectcore_export.h" class QSslCertificate; -namespace QCA { - class PrivateKey; - class PublicKey; -} class KDECONNECTCORE_EXPORT KdeConnectConfig { @@ -50,9 +46,6 @@ public: QString deviceType(); QString privateKeyPath(); - QCA::PrivateKey privateKey(); - QCA::PublicKey publicKey(); - QString certificatePath(); QSslCertificate certificate();