diff options
Diffstat (limited to 'src/properties.h')
-rw-r--r-- | src/properties.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/properties.h b/src/properties.h index 472d4b4..6faf885 100644 --- a/src/properties.h +++ b/src/properties.h @@ -76,7 +76,9 @@ public: /** * @brief set the info string of this object * */ - void set_info(const QString &text); + inline void set_info(const QString &text) { + properties_info = text; + } /** * @brief add a line of text to the info string of this object @@ -84,11 +86,17 @@ public: void add_info(const QString &text); /** + * @brief set the subsection string of this object + * */ + inline void set_values(const QString &text) { + properties_values = text; + } + + /** * @brief add a value key pair to the values string * */ void add_value(const QString &key, const QString &value); - /** * @brief set the object label * */ |