Commit 1601e2a5 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize value + move code to cpp file

parent 9be4d529
......@@ -308,3 +308,13 @@ void FilterActionEncrypt::applyParamWidgetValue(QWidget *paramWidget)
mReencrypt = chkBox->isChecked();
}
}
GpgME::Key FilterActionEncrypt::key() const
{
return mKey;
}
bool FilterActionEncrypt::reencrypt() const
{
return mReencrypt;
}
......@@ -52,20 +52,14 @@ public:
void setParamWidgetValue(QWidget *paramWidget) const override;
void applyParamWidgetValue(QWidget *paramWidget) override;
GpgME::Key key() const
{
return mKey;
}
GpgME::Key key() const;
bool reencrypt() const
{
return mReencrypt;
}
bool reencrypt() const;
private:
std::shared_ptr<const Kleo::KeyCache> mKeyCache;
GpgME::Key mKey;
bool mReencrypt;
bool mReencrypt = false;
};
} // namespace MailCommon
......
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