1 /*
2  * %kadu copyright begin%
3  * Copyright 2011 Piotr Galiszewski (piotr.galiszewski@kadu.im)
4  * Copyright 2009 Michał Podsiadlik (michal@kadu.net)
5  * Copyright 2010 Bartosz Brachaczek (b.brachaczek@gmail.com)
6  * Copyright 2009, 2010, 2011 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
7  * %kadu copyright end%
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License as
11  * published by the Free Software Foundation; either version 2 of
12  * the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef STATUS_TYPE_H
24 #define STATUS_TYPE_H
25 
26 #include <QtCore/QVariant>
27 
28 /**
29  * @addtogroup Status
30  * @{
31  */
32 
33 /**
34  * @enum StatusType
35  * @author Rafał 'Vogel' Malinowski
36  * @short Status type enum.
37  * @see StatusTypeGroup
38  *
39  * This enum describes possible types of statuses.
40  */
41 enum class StatusType
42 {
43 	/**
44 	 * Empty (invalid) status type.
45 	 */
46 	None = -1,
47 	/**
48 	 * Free for chat status type.
49 	 */
50 	FreeForChat = 0,
51 	/**
52 	 * Online status type.
53 	 */
54 	Online = 10,
55 	/**
56 	 * Away status type.
57 	 */
58 	Away = 20,
59 	/**
60 	 * Not available status type.
61 	 */
62 	NotAvailable = 30,
63 	/**
64 	 * Do not disturb status type.
65 	 */
66 	DoNotDisturb = 40,
67 	/**
68 	 * Invisible status type.
69 	 */
70 	Invisible = 50,
71 	/**
72 	 * Offline status type.
73 	 */
74 	Offline = 60
75 };
76 
77 /**
78  * @addtogroup Status
79  * @}
80  */
81 
82 Q_DECLARE_METATYPE(StatusType)
83 
84 #endif // STATUS_TYPE_H
85