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
00023
00024 #ifndef ACCOUNTS_SERVICE_TYPE_H
00025 #define ACCOUNTS_SERVICE_TYPE_H
00026
00027
00028 #include <QObject>
00029 #include <QDomDocument>
00030
00031 #include "Accounts/accountscommon.h"
00032
00033 extern "C"
00034 {
00035 typedef struct _AgServiceType AgServiceType;
00036 }
00037
00038 namespace Accounts
00039 {
00040
00051 class ACCOUNTS_EXPORT ServiceType
00052 {
00053 public:
00057 QString name() const;
00058
00067 QString displayName() const;
00068
00073 QString trCatalog() const;
00074
00078 QString iconName() const;
00079
00083 const QDomDocument domDocument() const;
00084
00085 private:
00086 ~ServiceType();
00087
00088 friend class Manager;
00089 ServiceType(AgServiceType *serviceType);
00090 AgServiceType *m_serviceType;
00091 mutable QDomDocument doc;
00092
00093 };
00094
00095 }
00096
00097 #endif // ACCOUNTS_SERVICE_TYPE_H