Commit ba5750ad authored by Albert Astals Cid's avatar Albert Astals Cid

Do not make password and customSievePasswords scriptable slots

We don't want to make them dbus accessible

Differential Revision: https://phabricator.kde.org/D6205
parent 8a1fe615
...@@ -50,14 +50,15 @@ public: ...@@ -50,14 +50,15 @@ public:
virtual void clearCachedPassword(); virtual void clearCachedPassword();
virtual void cleanup(); virtual void cleanup();
virtual QString password(bool *userRejected = nullptr) const;
virtual QString sieveCustomPassword(bool *userRejected = nullptr) const;
Q_SIGNALS: Q_SIGNALS:
void passwordRequestCompleted(const QString &password, bool userRejected); void passwordRequestCompleted(const QString &password, bool userRejected);
public Q_SLOTS: public Q_SLOTS:
Q_SCRIPTABLE virtual QString password(bool *userRejected = nullptr) const;
Q_SCRIPTABLE virtual void setPassword(const QString &password); Q_SCRIPTABLE virtual void setPassword(const QString &password);
Q_SCRIPTABLE virtual void setSieveCustomPassword(const QString &password); Q_SCRIPTABLE virtual void setSieveCustomPassword(const QString &password);
Q_SCRIPTABLE virtual QString sieveCustomPassword(bool *userRejected = nullptr) const;
protected Q_SLOTS: protected Q_SLOTS:
virtual void onWalletOpened(bool success); virtual void onWalletOpened(bool success);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment