![]() |
LeechCraft
0.6.70-10870-g558588d6ec
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 LeechCraft::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 127 of file anutil.cpp.
References GetCategoryNameMap().
UTIL_XPC_API QMap< QString, QString > LeechCraft::Util::AN::GetCategoryNameMap | ( | ) |
Returns the map from the category ID to its name.
Definition at line 44 of file anutil.cpp.
References LeechCraft::AN::CatDownloads, LeechCraft::AN::CatGeneric, LeechCraft::AN::CatIM, LeechCraft::AN::CatMediaPlayer, LeechCraft::AN::CatOrganizer, LeechCraft::AN::CatPackageManager, and LeechCraft::AN::CatTerminal.
Referenced by GetCategoryName().
UTIL_XPC_API QStringList LeechCraft::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 59 of file anutil.cpp.
References LeechCraft::AN::CatDownloads, LeechCraft::AN::CatGeneric, LeechCraft::AN::CatIM, LeechCraft::AN::CatMediaPlayer, LeechCraft::AN::CatOrganizer, LeechCraft::AN::CatPackageManager, LeechCraft::AN::CatTerminal, LeechCraft::AN::TypeDownloadError, LeechCraft::AN::TypeDownloadFinished, LeechCraft::AN::TypeGeneric, LeechCraft::AN::TypeIMAttention, LeechCraft::AN::TypeIMEventActivityChange, LeechCraft::AN::TypeIMEventLocationChange, LeechCraft::AN::TypeIMEventMoodChange, LeechCraft::AN::TypeIMEventTuneChange, LeechCraft::AN::TypeIMIncFile, LeechCraft::AN::TypeIMIncMsg, LeechCraft::AN::TypeIMMUCHighlight, LeechCraft::AN::TypeIMMUCInvite, LeechCraft::AN::TypeIMMUCMsg, LeechCraft::AN::TypeIMStatusChange, LeechCraft::AN::TypeIMSubscrGrant, LeechCraft::AN::TypeIMSubscrRequest, LeechCraft::AN::TypeIMSubscrRevoke, LeechCraft::AN::TypeIMSubscrSub, LeechCraft::AN::TypeIMSubscrUnsub, LeechCraft::AN::TypeMediaPlaybackStatus, LeechCraft::AN::TypeOrganizerEventDue, LeechCraft::AN::TypePackageUpdated, LeechCraft::AN::TypeTerminalActivity, LeechCraft::AN::TypeTerminalBell, and LeechCraft::AN::TypeTerminalInactivity.
UTIL_XPC_API QString LeechCraft::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 132 of file anutil.cpp.
References LeechCraft::AN::TypeDownloadError, LeechCraft::AN::TypeDownloadFinished, LeechCraft::AN::TypeGeneric, LeechCraft::AN::TypeIMAttention, LeechCraft::AN::TypeIMEventActivityChange, LeechCraft::AN::TypeIMEventLocationChange, LeechCraft::AN::TypeIMEventMoodChange, LeechCraft::AN::TypeIMEventTuneChange, LeechCraft::AN::TypeIMIncFile, LeechCraft::AN::TypeIMIncMsg, LeechCraft::AN::TypeIMMUCHighlight, LeechCraft::AN::TypeIMMUCInvite, LeechCraft::AN::TypeIMMUCMsg, LeechCraft::AN::TypeIMStatusChange, LeechCraft::AN::TypeIMSubscrGrant, LeechCraft::AN::TypeIMSubscrRequest, LeechCraft::AN::TypeIMSubscrRevoke, LeechCraft::AN::TypeIMSubscrSub, LeechCraft::AN::TypeIMSubscrUnsub, LeechCraft::AN::TypeMediaPlaybackStatus, LeechCraft::AN::TypeOrganizerEventDue, LeechCraft::AN::TypePackageUpdated, LeechCraft::AN::TypeTerminalActivity, LeechCraft::AN::TypeTerminalBell, and LeechCraft::AN::TypeTerminalInactivity.