diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-28 00:19:56 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-28 00:19:56 -0500 |
| commit | d46e8ed3e6fcaae2766e0ec8f357400173062711 (patch) | |
| tree | 5662870f8b74ef4944a13519d4e7dcff58813fe8 /sigmod/MapWildList.cpp | |
| parent | bbcfec59afb468601dfe0ac227bab9ce71a3e160 (diff) | |
| download | sigen-d46e8ed3e6fcaae2766e0ec8f357400173062711.tar.gz sigen-d46e8ed3e6fcaae2766e0ec8f357400173062711.tar.xz sigen-d46e8ed3e6fcaae2766e0ec8f357400173062711.zip | |
More conversions to check structure
Diffstat (limited to 'sigmod/MapWildList.cpp')
| -rw-r--r-- | sigmod/MapWildList.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sigmod/MapWildList.cpp b/sigmod/MapWildList.cpp index 1a385632..2b0ca266 100644 --- a/sigmod/MapWildList.cpp +++ b/sigmod/MapWildList.cpp @@ -85,15 +85,11 @@ QDomElement Sigmod::MapWildList::save() const return xml; } -void Sigmod::MapWildList::setName(const QString& name) -{ - CHECK(name); -} +SETTER(MapWildList, QString&, Name, name) -QString Sigmod::MapWildList::name() const -{ - return m_name; -} +GETTER(MapWildList, QString, name) + +CHECK(MapWildList, QString&, name) const Sigmod::MapWildListEncounter* Sigmod::MapWildList::encounter(const int index) const { |
