summaryrefslogtreecommitdiff
path: root/liblightdm-qt/QLightDM
diff options
context:
space:
mode:
authorAurélien Gâteau <aurelien.gateau@canonical.com>2012-01-23 18:47:04 +0100
committerAurélien Gâteau <aurelien.gateau@canonical.com>2012-01-23 18:47:04 +0100
commita4b2fffdc1662599a045ebc16804ba5919a33f6e (patch)
tree2616821d14dc31342b1ca960a266de39f3ee6002 /liblightdm-qt/QLightDM
parentd00cba116f57028b72ef4596509197bf2a85dd37 (diff)
downloadlightdm-git-a4b2fffdc1662599a045ebc16804ba5919a33f6e.tar.gz
Expose the user session
Diffstat (limited to 'liblightdm-qt/QLightDM')
-rw-r--r--liblightdm-qt/QLightDM/usersmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/liblightdm-qt/QLightDM/usersmodel.h b/liblightdm-qt/QLightDM/usersmodel.h
index f6bfc444..d6524035 100644
--- a/liblightdm-qt/QLightDM/usersmodel.h
+++ b/liblightdm-qt/QLightDM/usersmodel.h
@@ -31,7 +31,8 @@ public:
enum UserModelRoles {NameRole = Qt::UserRole,
RealNameRole,
LoggedInRole,
- BackgroundRole};
+ BackgroundRole,
+ SessionRole};
int rowCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;