|
libaccounts-qt
1.1
|
Representation of an account service type. More...
#include <Accounts/ServiceType>
Public Member Functions | |
| QString | name () const |
| Returns the name (ID) of the service type. | |
| QString | displayName () const |
| QString | trCatalog () const |
| QString | iconName () const |
| const QDomDocument | domDocument () const |
Representation of an account service type.
The ServiceType object represents an account service type. It can be used to retrieve some basic properties of the service type (such as name and icon) and to get access to the contents of the XML file which defines it.
Definition at line 45 of file service-type.h.
| QString displayName | ( | ) | const |
The library attempts to translate this string by passing it to the qtTrId() function; in order for this to work you must make sure that the translation catalogue has been loaded before, if needed.
Definition at line 80 of file service-type.cpp.
| const QDomDocument domDocument | ( | ) | const |
Definition at line 113 of file service-type.cpp.
| QString iconName | ( | ) | const |
Definition at line 105 of file service-type.cpp.
| QString trCatalog | ( | ) | const |
Definition at line 97 of file service-type.cpp.