Commit cd851b78 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

this model is flat so there are no children

svn path=/trunk/KDE/kdeutils/kgpg/; revision=816890
parent 588e4d2c
......@@ -84,6 +84,12 @@ GroupEditProxyModel::data(const QModelIndex &index, int role) const
return QVariant();
}
bool
GroupEditProxyModel::hasChildren(const QModelIndex &) const
{
return false;
}
QVariant
GroupEditProxyModel::headerData(int section, Qt::Orientation orientation, int role) const
{
......
......@@ -34,6 +34,7 @@ public:
KGpgNode *nodeForIndex(const QModelIndex &index) const;
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
virtual bool hasChildren(const QModelIndex &parent) const;
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
protected:
......
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