Unity 8
Main Page
Classes
Files
File List
UsersModelPrivate.h
1
/*
2
* Copyright (C) 2013 Canonical, Ltd.
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; version 3.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Author: Michael Terry <michael.terry@canonical.com>
17
*/
18
19
#ifndef UNITY_MOCK_USERSMODEL_PRIVATE_H
20
#define UNITY_MOCK_USERSMODEL_PRIVATE_H
21
22
#include <QtCore/QList>
23
#include <QtCore/QString>
24
25
namespace
QLightDM
26
{
27
class
UsersModel;
28
29
class
Entry
30
{
31
public
:
32
QString username;
33
QString real_name;
34
QString background;
35
QString layouts;
36
bool
is_active;
37
bool
has_messages;
38
QString session;
39
QString infographic;
40
};
41
42
class
UsersModelPrivate
43
{
44
public
:
45
explicit
UsersModelPrivate(UsersModel *parent = 0);
46
virtual
~UsersModelPrivate() =
default
;
47
48
QList<Entry> entries;
49
50
protected
:
51
UsersModel *
const
q_ptr;
52
53
private
:
54
Q_DECLARE_PUBLIC(UsersModel)
55
};
56
57
}
58
59
#endif // UNITY_MOCK_USERSMODEL_PRIVATE_H
QLightDM
Definition:
UsersModelPrivate.h:25
plugins
IntegratedLightDM
liblightdm
UsersModelPrivate.h
Generated on Wed Nov 4 2015 15:23:02 for Unity 8 by
1.8.9.1