on bbccae6 help sign in
59 lines 1.4 kB history raw
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 */
19#ifndef UNITY_MOCK_USERSMODEL_PRIVATE_H
20#define UNITY_MOCK_USERSMODEL_PRIVATE_H
22#include <QtCore/QList>
23#include <QtCore/QString>
25namespace QLightDM
27class UsersModel;
29class Entry
31public:
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};
42class UsersModelPrivate
44public:
45 explicit UsersModelPrivate(UsersModel *parent = 0);
46 virtual ~UsersModelPrivate() = default;
48 QList<Entry> entries;
50protected:
51 UsersModel * const q_ptr;
53private:
54 Q_DECLARE_PUBLIC(UsersModel)
55};
59#endif // UNITY_MOCK_USERSMODEL_PRIVATE_H