Remove unneeded methods

Remove unneeded declaration
This commit is contained in:
Nicolas Fella 2018-12-25 00:51:47 +01:00
parent b4e61678a4
commit 8f16c3fd9a
2 changed files with 0 additions and 17 deletions

View file

@ -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"));

View file

@ -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();