diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 05:53:26 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 05:53:26 -0400 |
commit | 92530cb716baf7d978832f47321eb8f74a79da58 (patch) | |
tree | 21b9dcc21c27fac3ee805acdfdb9e0095e0cd0c4 /sigtools/PluginTreeModel.cpp | |
parent | 26d642acf808844bf1f395694666394d12822f64 (diff) | |
download | sigen-92530cb716baf7d978832f47321eb8f74a79da58.tar.gz sigen-92530cb716baf7d978832f47321eb8f74a79da58.tar.xz sigen-92530cb716baf7d978832f47321eb8f74a79da58.zip |
Add description accessor role
Diffstat (limited to 'sigtools/PluginTreeModel.cpp')
-rw-r--r-- | sigtools/PluginTreeModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp index 03479a8a..6a291b45 100644 --- a/sigtools/PluginTreeModel.cpp +++ b/sigtools/PluginTreeModel.cpp @@ -83,6 +83,8 @@ QVariant PluginTreeModel::data(const QModelIndex& index, const int role) const { case Qt::DisplayRole: return data->m_name; + case Qt::UserRole: + return data->m_description; case Qt::DecorationRole: return data->m_icon; case KCategorizedSortFilterProxyModel::CategoryDisplayRole: |