Remove unneeded methods
Remove unneeded declaration
This commit is contained in:
parent
b4e61678a4
commit
8f16c3fd9a
2 changed files with 0 additions and 17 deletions
|
@ -179,16 +179,6 @@ QString KdeConnectConfig::privateKeyPath()
|
||||||
return baseConfigDir().absoluteFilePath(QStringLiteral("privateKey.pem"));
|
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()
|
QString KdeConnectConfig::certificatePath()
|
||||||
{
|
{
|
||||||
return baseConfigDir().absoluteFilePath(QStringLiteral("certificate.pem"));
|
return baseConfigDir().absoluteFilePath(QStringLiteral("certificate.pem"));
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
#include "kdeconnectcore_export.h"
|
#include "kdeconnectcore_export.h"
|
||||||
|
|
||||||
class QSslCertificate;
|
class QSslCertificate;
|
||||||
namespace QCA {
|
|
||||||
class PrivateKey;
|
|
||||||
class PublicKey;
|
|
||||||
}
|
|
||||||
|
|
||||||
class KDECONNECTCORE_EXPORT KdeConnectConfig
|
class KDECONNECTCORE_EXPORT KdeConnectConfig
|
||||||
{
|
{
|
||||||
|
@ -50,9 +46,6 @@ public:
|
||||||
QString deviceType();
|
QString deviceType();
|
||||||
|
|
||||||
QString privateKeyPath();
|
QString privateKeyPath();
|
||||||
QCA::PrivateKey privateKey();
|
|
||||||
QCA::PublicKey publicKey();
|
|
||||||
|
|
||||||
QString certificatePath();
|
QString certificatePath();
|
||||||
QSslCertificate certificate();
|
QSslCertificate certificate();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue