summaryrefslogtreecommitdiff
path: root/src/gui/widgets/namesmodel.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-05 12:51:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-05 12:51:55 +0300
commit657a5b3dbbecbe000324579f1fc26f1519459057 (patch)
tree480f3f3dfa6b9cb74c7399d11b2a6e5a84993925 /src/gui/widgets/namesmodel.h
parentf677e2a536d84c1db5145db80b9e9a7540cfbb6d (diff)
downloadplus-657a5b3dbbecbe000324579f1fc26f1519459057.tar.gz
plus-657a5b3dbbecbe000324579f1fc26f1519459057.tar.bz2
plus-657a5b3dbbecbe000324579f1fc26f1519459057.tar.xz
plus-657a5b3dbbecbe000324579f1fc26f1519459057.zip
use new control for scale.
Diffstat (limited to 'src/gui/widgets/namesmodel.h')
-rw-r--r--src/gui/widgets/namesmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h
index 76f668f10..c64c6ea26 100644
--- a/src/gui/widgets/namesmodel.h
+++ b/src/gui/widgets/namesmodel.h
@@ -49,6 +49,9 @@ class NamesModel : public gcn::ListModel
void clear()
{ mNames.clear(); }
+ void add(const std::string &str)
+ { mNames.push_back(str); }
+
void fillFromArray(const char *const *const arr, std::size_t size);
protected: