diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-21 21:22:26 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-21 21:22:26 +0000 |
commit | 0a22de2cb23a1636f076d1dd8a05b7f873b9b653 (patch) | |
tree | 345a3273bb55dfd292ef6d34d1c7a647cd0a2ff7 /src/properties.h | |
parent | c38ac3b03a83096810003120039a934948a0eeb8 (diff) |
Save all changes made to the properties in the Sidebar.
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 * */ |