LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <QString>
12#include <QFlags>
13
14namespace LC::AN
15{
20 Q_DECL_IMPORT extern const QString CatEventCancel;
21
24 Q_DECL_IMPORT extern const QString CatIM;
25
28 Q_DECL_IMPORT extern const QString TypeIMAttention;
29
32 Q_DECL_IMPORT extern const QString TypeIMIncFile;
33
36 Q_DECL_IMPORT extern const QString TypeIMIncMsg;
37
45 Q_DECL_IMPORT extern const QString TypeIMMUCHighlight;
46
49 Q_DECL_IMPORT extern const QString TypeIMMUCInvite;
50
58 Q_DECL_IMPORT extern const QString TypeIMMUCMsg;
59
63 Q_DECL_IMPORT extern const QString TypeIMStatusChange;
64
67 Q_DECL_IMPORT extern const QString TypeIMSubscrGrant;
68
71 Q_DECL_IMPORT extern const QString TypeIMSubscrRevoke;
72
75 Q_DECL_IMPORT extern const QString TypeIMSubscrRequest;
76
79 Q_DECL_IMPORT extern const QString TypeIMSubscrSub;
80
83 Q_DECL_IMPORT extern const QString TypeIMSubscrUnsub;
84
87 Q_DECL_IMPORT extern const QString TypeIMEventTuneChange;
88
91 Q_DECL_IMPORT extern const QString TypeIMEventMoodChange;
92
95 Q_DECL_IMPORT extern const QString TypeIMEventActivityChange;
96
99 Q_DECL_IMPORT extern const QString TypeIMEventLocationChange;
100
103 Q_DECL_IMPORT extern const QString CatOrganizer;
104
107 Q_DECL_IMPORT extern const QString TypeOrganizerEventDue;
108
111 Q_DECL_IMPORT extern const QString CatDownloads;
112
115 Q_DECL_IMPORT extern const QString TypeDownloadFinished;
116
119 Q_DECL_IMPORT extern const QString TypeDownloadError;
120
123 Q_DECL_IMPORT extern const QString CatPackageManager;
124
127 Q_DECL_IMPORT extern const QString TypePackageUpdated;
128
131 Q_DECL_IMPORT extern const QString CatMediaPlayer;
132
135 Q_DECL_IMPORT extern const QString TypeMediaPlaybackStatus;
136
139 Q_DECL_IMPORT extern const QString CatTerminal;
140
143 Q_DECL_IMPORT extern const QString TypeTerminalBell;
144
147 Q_DECL_IMPORT extern const QString TypeTerminalActivity;
148
151 Q_DECL_IMPORT extern const QString TypeTerminalInactivity;
152
155 Q_DECL_IMPORT extern const QString CatNews;
156
159 Q_DECL_IMPORT extern const QString TypeNewsSourceUpdated;
160
163 Q_DECL_IMPORT extern const QString TypeNewsSourceBroken;
164
167 Q_DECL_IMPORT extern const QString CatGeneric;
168
171 Q_DECL_IMPORT extern const QString TypeGeneric;
172
176 {
180
188
199
211
214 NotifyAudio = 1 << 3
215 };
217
218 namespace Field
219 {
222 Q_DECL_IMPORT extern const QString MediaPlayerURL;
223
231 Q_DECL_IMPORT extern const QString MediaPlaybackStatus;
232
235 Q_DECL_IMPORT extern const QString MediaTitle;
236
239 Q_DECL_IMPORT extern const QString MediaArtist;
240
243 Q_DECL_IMPORT extern const QString MediaAlbum;
244
247 Q_DECL_IMPORT extern const QString MediaLength;
248
251 Q_DECL_IMPORT extern const QString TerminalActive;
252
255 Q_DECL_IMPORT extern const QString IMActivityGeneral;
256
259 Q_DECL_IMPORT extern const QString IMActivitySpecific;
260
263 Q_DECL_IMPORT extern const QString IMActivityText;
264
267 Q_DECL_IMPORT extern const QString IMMoodGeneral;
268
271 Q_DECL_IMPORT extern const QString IMMoodText;
272
275 Q_DECL_IMPORT extern const QString IMLocationLongitude;
276
279 Q_DECL_IMPORT extern const QString IMLocationLatitude;
280
283 Q_DECL_IMPORT extern const QString IMLocationCountry;
284
288 Q_DECL_IMPORT extern const QString IMLocationLocality;
289
292 Q_DECL_IMPORT extern const QString NewsSourceName;
293
296 Q_DECL_IMPORT extern const QString NewsSourceURL;
297 }
298}
299
300Q_DECLARE_OPERATORS_FOR_FLAGS (LC::AN::NotifyFlags)
Q_DECL_IMPORT const QString IMActivityGeneral
General activity name of a contact (QString).
Q_DECL_IMPORT const QString IMActivitySpecific
Specific activity name of a contact (QString).
Q_DECL_IMPORT const QString TerminalActive
Whether the terminal window is active (bool).
Q_DECL_IMPORT const QString MediaAlbum
The album of the currently playing media (QString).
Q_DECL_IMPORT const QString IMLocationCountry
Country a contact is currently in (QString).
Q_DECL_IMPORT const QString IMMoodText
Accompanying mood text entered by a contact (QString).
Q_DECL_IMPORT const QString IMLocationLocality
Exact locality, like a town or a city, a contact is currently in (QString).
Q_DECL_IMPORT const QString MediaTitle
The title of the currently playing media (QString).
Q_DECL_IMPORT const QString MediaLength
The length of the currently playing media (int).
Q_DECL_IMPORT const QString NewsSourceName
News source name (QString).
Q_DECL_IMPORT const QString MediaPlayerURL
The URL to the file being played.
Q_DECL_IMPORT const QString MediaPlaybackStatus
Playback status of the URL (QString).
Q_DECL_IMPORT const QString IMMoodGeneral
General mood name of a contact (QString).
Q_DECL_IMPORT const QString IMLocationLatitude
Latitude of a contact's position (double).
Q_DECL_IMPORT const QString MediaArtist
The artist of the currently playing media (QString).
Q_DECL_IMPORT const QString IMLocationLongitude
Longitude of a contact's position (double).
Q_DECL_IMPORT const QString IMActivityText
Accompanying activity text entered by a contact (QString).
Q_DECL_IMPORT const QString NewsSourceURL
News source URL (QString).
Q_DECL_IMPORT const QString TypeTerminalActivity
Activity in terminal window.
Q_DECLARE_FLAGS(NotifyFlags, NotifyFlag)
Q_DECL_IMPORT const QString TypeIMEventActivityChange
User's activity has changed.
Q_DECL_IMPORT const QString TypeOrganizerEventDue
An event due date is coming.
Q_DECL_IMPORT const QString CatGeneric
Generic notifications that don't fit into any other category.
Q_DECL_IMPORT const QString TypeNewsSourceUpdated
News source got updated.
Q_DECL_IMPORT const QString TypeMediaPlaybackStatus
A media file playback status has been changed.
Q_DECL_IMPORT const QString TypeIMEventLocationChange
User's location has changed.
Q_DECL_IMPORT const QString TypeIMAttention
Another user has requested our user's attention.
Q_DECL_IMPORT const QString TypeIMMUCHighlight
User has been highlighted in a multiuser chat.
Q_DECL_IMPORT const QString TypeGeneric
Generic type for generic notifications.
Q_DECL_IMPORT const QString TypeIMSubscrUnsub
Another user has unsubscribed from our user.
Q_DECL_IMPORT const QString TypeIMSubscrSub
Another user has subscribed to our user.
Q_DECL_IMPORT const QString CatOrganizer
Category of Organizer-related events.
Q_DECL_IMPORT const QString CatIM
Category of Instant Messaging-related events.
Q_DECL_IMPORT const QString TypeIMSubscrRevoke
Another user has revoked subscription from our user.
Q_DECL_IMPORT const QString CatNews
Category for news-related events.
Q_DECL_IMPORT const QString CatTerminal
Category for terminal emulation events.
Q_DECL_IMPORT const QString TypeTerminalBell
A bell has ringed in a terminal window.
Q_DECL_IMPORT const QString CatDownloads
Category of Downloads-related events.
Q_DECL_IMPORT const QString CatEventCancel
Event cancel pseudo-category.
Q_DECL_IMPORT const QString TypeIMSubscrRequest
Another user has requested subscription from our user.
Q_DECL_IMPORT const QString TypePackageUpdated
A package has been updated.
Q_DECL_IMPORT const QString TypeIMMUCInvite
User has been invited to a multiuser chat.
Q_DECL_IMPORT const QString TypeIMIncFile
Another user has sent our user a file.
Q_DECL_IMPORT const QString CatPackageManager
Category of package manager-related events.
Q_DECL_IMPORT const QString CatMediaPlayer
Category of media player-related events.
Q_DECL_IMPORT const QString TypeTerminalInactivity
Inactivity in terminal window.
Q_DECL_IMPORT const QString TypeIMEventTuneChange
User's tune has changed.
Q_DECL_IMPORT const QString TypeIMIncMsg
User has received a message in a standard one-to-one chat.
Q_DECL_IMPORT const QString TypeIMEventMoodChange
User's mood has changed.
Q_DECL_IMPORT const QString TypeIMStatusChange
Another user in our user's contact list has changed its status.
Q_DECL_IMPORT const QString TypeNewsSourceBroken
News source is detected to be broken.
Q_DECL_IMPORT const QString TypeIMSubscrGrant
Another user has granted subscription to our user.
Q_DECL_IMPORT const QString TypeDownloadError
A download has been failed.
Q_DECL_IMPORT const QString TypeIMMUCMsg
A message has been sent to a multiuser chat.
NotifyFlag
Describes the notification parameters.
Definition: constants.h:176
@ NotifySingleShot
Rule should be triggered only once.
Definition: constants.h:187
@ NotifyNone
No notifications.
Definition: constants.h:179
@ NotifyTransient
User should be notified visually.
Definition: constants.h:198
@ NotifyAudio
Notify by playing back an audio file.
Definition: constants.h:214
@ NotifyPersistent
User should be notified visually via persistent notifications.
Definition: constants.h:210
Q_DECL_IMPORT const QString TypeDownloadFinished
A download has been finished successfully without errors.