Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneytag.h
Show All 26 Lines | |||||
27 | // ---------------------------------------------------------------------------- | 27 | // ---------------------------------------------------------------------------- | ||
28 | // Project Includes | 28 | // Project Includes | ||
29 | 29 | | |||
30 | #include "kmm_mymoney_export.h" | 30 | #include "kmm_mymoney_export.h" | ||
31 | #include "mymoneyobject.h" | 31 | #include "mymoneyobject.h" | ||
32 | 32 | | |||
33 | class QString; | 33 | class QString; | ||
34 | class QColor; | 34 | class QColor; | ||
35 | class QDomDocument; | | |||
36 | 35 | | |||
37 | /** | 36 | /** | ||
38 | * This class represents a tag within the MyMoney engine. | 37 | * This class represents a tag within the MyMoney engine. | ||
39 | */ | 38 | */ | ||
40 | class MyMoneyTagPrivate; | 39 | class MyMoneyTagPrivate; | ||
41 | class KMM_MYMONEY_EXPORT MyMoneyTag : public MyMoneyObject | 40 | class KMM_MYMONEY_EXPORT MyMoneyTag : public MyMoneyObject | ||
42 | { | 41 | { | ||
43 | Q_DECLARE_PRIVATE(MyMoneyTag) | 42 | Q_DECLARE_PRIVATE(MyMoneyTag) | ||
Show All 30 Lines | |||||
74 | 73 | | |||
75 | QString notes() const; | 74 | QString notes() const; | ||
76 | void setNotes(const QString& val); | 75 | void setNotes(const QString& val); | ||
77 | 76 | | |||
78 | // Equality operator | 77 | // Equality operator | ||
79 | bool operator == (const MyMoneyTag &) const; | 78 | bool operator == (const MyMoneyTag &) const; | ||
80 | bool operator <(const MyMoneyTag& right) const; | 79 | bool operator <(const MyMoneyTag& right) const; | ||
81 | 80 | | |||
82 | void writeXML(QDomDocument& document, QDomElement& parent) const override; | | |||
83 | | ||||
84 | /** | 81 | /** | ||
85 | * This method checks if a reference to the given object exists. It returns, | 82 | * This method checks if a reference to the given object exists. It returns, | ||
86 | * a @p true if the object is referencing the one requested by the | 83 | * a @p true if the object is referencing the one requested by the | ||
87 | * parameter @p id. If it does not, this method returns @p false. | 84 | * parameter @p id. If it does not, this method returns @p false. | ||
88 | * | 85 | * | ||
89 | * @param id id of the object to be checked for references | 86 | * @param id id of the object to be checked for references | ||
90 | * @retval true This object references object with id @p id. | 87 | * @retval true This object references object with id @p id. | ||
91 | * @retval false This object does not reference the object with id @p id. | 88 | * @retval false This object does not reference the object with id @p id. | ||
Show All 34 Lines |