![]() |
LeechCraft
0.6.70-15082-g543737046d
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 116 of file anutil.cpp.
References LC::AN::TypeIMAttention, and LC::AN::TypeIMIncFile.
UTIL_XPC_API QMap< QString, QString > LC::Util::AN::GetCategoryNameMap | ( | ) |
Returns the map from the category ID to its name.
Definition at line 25 of file anutil.cpp.
References LC::AN::CatDownloads.
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 41 of file anutil.cpp.
References 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, and LC::AN::TypeIMSubscrUnsub.
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 121 of file anutil.cpp.
References LC::AN::TypeIMIncMsg.