![]() |
LeechCraft
0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
|
Functions | |
QMap< QString, QString > | GetCategoryNameMap () |
Returns the map from the category ID to its name. More... | |
QStringList | GetKnownEventTypes (const QString &category) |
Returns the known events types for the given category. More... | |
QString | GetCategoryName (const QString &category) |
Returns the human-readable name of the event category. More... | |
QString | GetTypeName (const QString &type) |
Returns the human-readable name of the event type. More... | |
UTIL_XPC_API QString LC::Util::AN::GetCategoryName | ( | const QString & | category | ) |
Returns the human-readable name of the event category.
If the category is not known, this function just returns the category string.
[in] | category | The ID of the event category. |
Definition at line 135 of file anutil.cpp.
References GetCategoryNameMap().
UTIL_XPC_API QMap< QString, QString > LC::Util::AN::GetCategoryNameMap | ( | ) |
Returns the map from the category ID to its name.
Definition at line 44 of file anutil.cpp.
References LC::AN::CatDownloads, LC::AN::CatGeneric, LC::AN::CatIM, LC::AN::CatMediaPlayer, LC::AN::CatNews, LC::AN::CatOrganizer, LC::AN::CatPackageManager, and LC::AN::CatTerminal.
Referenced by GetCategoryName().
UTIL_XPC_API QStringList LC::Util::AN::GetKnownEventTypes | ( | const QString & | category | ) |
Returns the known events types for the given category.
This function returns the list of known standard event types for the category, or an empty list if the category is not known.
Definition at line 60 of file anutil.cpp.
References LC::AN::CatDownloads, LC::AN::CatGeneric, LC::AN::CatIM, LC::AN::CatMediaPlayer, LC::AN::CatNews, LC::AN::CatOrganizer, LC::AN::CatPackageManager, LC::AN::CatTerminal, LC::AN::TypeDownloadError, LC::AN::TypeDownloadFinished, LC::AN::TypeGeneric, LC::AN::TypeIMAttention, LC::AN::TypeIMEventActivityChange, LC::AN::TypeIMEventLocationChange, LC::AN::TypeIMEventMoodChange, LC::AN::TypeIMEventTuneChange, LC::AN::TypeIMIncFile, LC::AN::TypeIMIncMsg, LC::AN::TypeIMMUCHighlight, LC::AN::TypeIMMUCInvite, LC::AN::TypeIMMUCMsg, LC::AN::TypeIMStatusChange, LC::AN::TypeIMSubscrGrant, LC::AN::TypeIMSubscrRequest, LC::AN::TypeIMSubscrRevoke, LC::AN::TypeIMSubscrSub, LC::AN::TypeIMSubscrUnsub, LC::AN::TypeMediaPlaybackStatus, LC::AN::TypeNewsSourceBroken, LC::AN::TypeNewsSourceUpdated, LC::AN::TypeOrganizerEventDue, LC::AN::TypePackageUpdated, LC::AN::TypeTerminalActivity, LC::AN::TypeTerminalBell, and LC::AN::TypeTerminalInactivity.
UTIL_XPC_API QString LC::Util::AN::GetTypeName | ( | const QString & | type | ) |
Returns the human-readable name of the event type.
If the type is not known, this function just returns the type string.
[in] | type | The ID of the event type. |
Definition at line 140 of file anutil.cpp.
References LC::AN::TypeDownloadError, LC::AN::TypeDownloadFinished, LC::AN::TypeGeneric, LC::AN::TypeIMAttention, LC::AN::TypeIMEventActivityChange, LC::AN::TypeIMEventLocationChange, LC::AN::TypeIMEventMoodChange, LC::AN::TypeIMEventTuneChange, LC::AN::TypeIMIncFile, LC::AN::TypeIMIncMsg, LC::AN::TypeIMMUCHighlight, LC::AN::TypeIMMUCInvite, LC::AN::TypeIMMUCMsg, LC::AN::TypeIMStatusChange, LC::AN::TypeIMSubscrGrant, LC::AN::TypeIMSubscrRequest, LC::AN::TypeIMSubscrRevoke, LC::AN::TypeIMSubscrSub, LC::AN::TypeIMSubscrUnsub, LC::AN::TypeMediaPlaybackStatus, LC::AN::TypeNewsSourceBroken, LC::AN::TypeNewsSourceUpdated, LC::AN::TypeOrganizerEventDue, LC::AN::TypePackageUpdated, LC::AN::TypeTerminalActivity, LC::AN::TypeTerminalBell, and LC::AN::TypeTerminalInactivity.