Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00028 #ifndef ACCOUNTS_SERVICE_TYPE_H
00029 #define ACCOUNTS_SERVICE_TYPE_H
00030
00031
00032 #include <QObject>
00033 #include <QDomDocument>
00034
00035 #include "Accounts/accountscommon.h"
00036
00037 extern "C"
00038 {
00039 typedef struct _AgServiceType AgServiceType;
00040 }
00041
00042 namespace Accounts
00043 {
00044
00055 class ACCOUNTS_EXPORT ServiceType
00056 {
00057 public:
00061 QString name() const;
00062
00071 QString displayName() const;
00072
00077 QString trCatalog() const;
00078
00082 QString iconName() const;
00083
00087 const QDomDocument domDocument() const;
00088
00089 private:
00090
00091 ~ServiceType();
00092
00093 friend class Manager;
00094 ServiceType(AgServiceType *serviceType);
00095 AgServiceType *m_serviceType;
00096 mutable QDomDocument doc;
00097
00098 };
00099
00100 }
00101
00102 #endif // ACCOUNTS_SERVICE_TYPE_H