LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::AN Namespace Reference

Functions

QMap< QString, QStringGetCategoryNameMap ()
 Returns the map from the category ID to its name.
 
QStringList GetKnownEventTypes (const QString &category)
 Returns the known events types for the given category.
 
QString GetCategoryName (const QString &category)
 Returns the human-readable name of the event category.
 
QString GetTypeName (const QString &type)
 Returns the human-readable name of the event type.
 

Function Documentation

◆ GetCategoryName()

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.

Parameters
[in]categoryThe ID of the event category.
Returns
The human-readable name of the category, or category if it is not known.
See also
GetANTypeName()
GetCategoryNameMap()

Definition at line 110 of file anutil.cpp.

References LC::Util::Filter(), and GetCategoryNameMap().

+ Here is the call graph for this function:

◆ GetCategoryNameMap()

UTIL_XPC_API QMap< QString, QString > LC::Util::AN::GetCategoryNameMap ( )

Returns the map from the category ID to its name.

Returns
The map from the category ID to its name.

Definition at line 19 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, and LC::Util::Filter().

Referenced by GetCategoryName().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetKnownEventTypes()

◆ GetTypeName()