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 description()
const;
61 QString displayName()
const;
62 QString trCatalog()
const;
63 QString iconName()
const;
64 bool hasTag(
const QString &tag)
const;
65 QSet<QString> tags()
const;
67 const QDomDocument domDocument()
const;
71 return s1.m_serviceType == s2.m_serviceType || s1.
name() == s2.
name();
77 ServiceType(AgServiceType *serviceType, ReferenceMode mode = AddReference);
78 AgServiceType *m_serviceType;
79 mutable QSet<QString> *m_tags;
85 #endif // ACCOUNTS_SERVICE_TYPE_H