31 #ifndef ACCOUNTS_SERVICE_TYPE_H
32 #define ACCOUNTS_SERVICE_TYPE_H
34 #include "Accounts/accountscommon.h"
39 #include <QDomDocument>
43 typedef struct _AgServiceType AgServiceType;
60 QString displayName()
const;
61 QString trCatalog()
const;
62 QString iconName()
const;
63 bool hasTag(
const QString &tag)
const;
64 QSet<QString> tags()
const;
66 const QDomDocument domDocument()
const;
70 return s1.m_serviceType == s2.m_serviceType || s1.
name() == s2.
name();
76 ServiceType(AgServiceType *serviceType, ReferenceMode mode = AddReference);
77 AgServiceType *m_serviceType;
78 mutable QSet<QString> *m_tags;
84 #endif // ACCOUNTS_SERVICE_TYPE_H