Verified Commit c963a702 authored by Ingo Klöcker's avatar Ingo Klöcker Committed by Ingo Klöcker
Browse files

Remove unused methods

GnuPG-bug-id: 6157
parent f19ed175
......@@ -181,18 +181,6 @@ void Command::setView(QAbstractItemView *view)
}
}
void Command::setIndex(const QModelIndex &idx)
{
d->indexes_.clear();
d->indexes_.push_back(idx);
}
void Command::setIndexes(const QList<QModelIndex> &idx)
{
d->indexes_.clear();
std::copy(idx.begin(), idx.end(), std::back_inserter(d->indexes_));
}
void Command::setKey(const Key &key)
{
d->keys_.clear();
......
......@@ -90,8 +90,6 @@ public:
void setParentWidget(QWidget *widget);
void setParentWId(WId wid);
void setView(QAbstractItemView *view);
void setIndex(const QModelIndex &idx);
void setIndexes(const QList<QModelIndex> &idx);
void setKey(const GpgME::Key &key);
void setKeys(const std::vector<GpgME::Key> &keys);
......
Supports Markdown
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