Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneysecurity_p.h
Context not available. | |||||
35 | // ---------------------------------------------------------------------------- | 35 | // ---------------------------------------------------------------------------- | ||
---|---|---|---|---|---|
36 | // Project Includes | 36 | // Project Includes | ||
37 | 37 | | |||
38 | #include "mymoneyobject_p.h" | ||||
38 | #include <alkimia/alkvalue.h> | 39 | #include <alkimia/alkvalue.h> | ||
39 | #include "mymoneyenums.h" | 40 | #include "mymoneyenums.h" | ||
40 | 41 | | |||
Context not available. | |||||
60 | } | 61 | } | ||
61 | } | 62 | } | ||
62 | 63 | | |||
63 | class MyMoneySecurityPrivate { | 64 | class MyMoneySecurityPrivate : public MyMoneyObjectPrivate | ||
64 | 65 | { | |||
65 | public: | 66 | public: | ||
66 | 67 | | |||
67 | MyMoneySecurityPrivate() : | 68 | MyMoneySecurityPrivate() : | ||
Context not available. | |||||
75 | 76 | | |||
76 | static QString getAttrName(const Security::Attribute attr) | 77 | static QString getAttrName(const Security::Attribute attr) | ||
77 | { | 78 | { | ||
78 | static const QHash<Security::Attribute, QString> attrNames = { | 79 | static const QHash<Security::Attribute, QString> attrNames { | ||
79 | {Security::Attribute::Name, QStringLiteral("name")}, | 80 | {Security::Attribute::Name, QStringLiteral("name")}, | ||
80 | {Security::Attribute::Symbol, QStringLiteral("symbol")}, | 81 | {Security::Attribute::Symbol, QStringLiteral("symbol")}, | ||
81 | {Security::Attribute::Type, QStringLiteral("type")}, | 82 | {Security::Attribute::Type, QStringLiteral("type")}, | ||
Context not available. |