31 #ifndef ACCOUNTS_SERVICE_H
32 #define ACCOUNTS_SERVICE_H
34 #include "Accounts/accountscommon.h"
38 #include <QDomDocument>
39 #include <QStringList>
43 typedef struct _AgService AgService;
59 QString displayName()
const;
60 QString trCatalog()
const;
61 QString serviceType()
const;
62 QString provider()
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_service == s2.m_service || s1.
name() == s2.
name();
78 friend class AccountServicePrivate;
81 Service(AgService *service, ReferenceMode mode = AddReference);
82 AgService *service()
const;
84 mutable QSet<QString> *m_tags;
88 typedef QList<Service> ServiceList;
92 #endif // ACCOUNTS_SERVICE_H