Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 33d06a7e authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor Doxygen issues

parent fff6ee1f
......@@ -126,20 +126,20 @@ CertifyCertificateCommand::CertifyCertificateCommand(QAbstractItemView *v, KeyLi
d->init();
}
CertifyCertificateCommand::CertifyCertificateCommand(const Key &key)
CertifyCertificateCommand::CertifyCertificateCommand(const GpgME::Key &key)
: Command(key, new Private(this, nullptr))
{
d->init();
}
CertifyCertificateCommand::CertifyCertificateCommand(const UserID &uid)
CertifyCertificateCommand::CertifyCertificateCommand(const GpgME::UserID &uid)
: Command(uid.parent(), new Private(this, nullptr))
{
std::vector<UserID>(1, uid).swap(d->uids);
d->init();
}
CertifyCertificateCommand::CertifyCertificateCommand(const std::vector<UserID> &uids)
CertifyCertificateCommand::CertifyCertificateCommand(const std::vector<GpgME::UserID> &uids)
: Command(uids.empty() ? Key() : uids.front().parent(), new Private(this, nullptr))
{
d->uids = uids;
......
......@@ -136,7 +136,7 @@ ChangeRootTrustCommand::ChangeRootTrustCommand(QAbstractItemView *v, KeyListCont
d->init();
}
ChangeRootTrustCommand::ChangeRootTrustCommand(const Key &key, KeyListController *p)
ChangeRootTrustCommand::ChangeRootTrustCommand(const GpgME::Key &key, KeyListController *p)
: Command(new Private(this, p))
{
Q_ASSERT(!key.isNull());
......@@ -144,7 +144,7 @@ ChangeRootTrustCommand::ChangeRootTrustCommand(const Key &key, KeyListController
setKey(key);
}
ChangeRootTrustCommand::ChangeRootTrustCommand(const Key &key, QAbstractItemView *v, KeyListController *p)
ChangeRootTrustCommand::ChangeRootTrustCommand(const GpgME::Key &key, QAbstractItemView *v, KeyListController *p)
: Command(v, new Private(this, p))
{
Q_ASSERT(!key.isNull());
......
......@@ -113,13 +113,13 @@ Command::Command(QAbstractItemView *v, Private *pp)
}
}
Command::Command(const Key &key)
Command::Command(const GpgME::Key &key)
: QObject(nullptr), d(new Private(this, nullptr))
{
d->keys_ = std::vector<Key>(1, key);
}
Command::Command(const std::vector<Key> &keys)
Command::Command(const std::vector<GpgME::Key> &keys)
: QObject(nullptr), d(new Private(this, nullptr))
{
d->keys_ = keys;
......@@ -131,7 +131,7 @@ Command::Command(const Key &key, Private *pp)
d->keys_ = std::vector<Key>(1, key);
}
Command::Command(const std::vector<Key> &keys, Private *pp)
Command::Command(const std::vector<GpgME::Key> &keys, Private *pp)
: QObject(nullptr), d(pp)
{
d->keys_ = keys;
......
......@@ -214,7 +214,7 @@ QString Kleo::gpgConfListDir(const char *which)
return QString();
}
bool Kleo::engineIsVersion(int major, int minor, int patch, Engine engine)
bool Kleo::engineIsVersion(int major, int minor, int patch, GpgME::Engine engine)
{
static QMap<Engine, std::array<int, 3> > cachedVersions;
const int required_version[] = {major, minor, patch};
......
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