29#ifndef ACCOUNTS_PROVIDER_H
30#define ACCOUNTS_PROVIDER_H
32#include "Accounts/accountscommon.h"
35#include <QDomDocument>
39 typedef struct _AgProvider AgProvider;
46typedef QList<Provider> ProviderList;
66 bool hasTag(
const QString &tag)
const;
67 QSet<QString>
tags()
const;
72 return p1.m_provider == p2.m_provider || p1.
name() == p2.
name();
78 Provider(AgProvider *provider, ReferenceMode mode = AddReference);
79 AgProvider *provider()
const;
80 AgProvider *m_provider;
81 mutable QSet<QString> *m_tags;
Manager of accounts, services and providers.
Representation of an account provider.
Provider()
Construct an invalid provider.
QString pluginName() const
Get the name of the account plugin associated with the provider.
QSet< QString > tags() const
Return all tags of the provider as a set.
bool isSingleAccount() const
QString domainsRegExp() const
bool isValid() const
Check whether this object represents a Provider.
QString name() const
Get the name of the provider.
QString displayName() const
Get the display name of the provider, untranslated.
QString description() const
Get the description of the provider, untranslated.
bool hasTag(const QString &tag) const
Check if this provider has a tag.
QString trCatalog() const
const QDomDocument domDocument() const