2
This file is part of Rocs.
3
Copyright 2013 Andreas Cord-Landwehr <cola@uni-paderborn.de>
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU General Public License as
7
published by the Free Software Foundation; either version 2 of
8
the License, or (at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
#include "PropertyDocumentation.h"
21
PropertyDocumentation::PropertyDocumentation(QObject* parent)
27
void PropertyDocumentation::setName(const QString &name)
32
QString PropertyDocumentation::name() const
37
void PropertyDocumentation::setDescription(const QStringList &description)
39
_description = description;
42
QVariantList PropertyDocumentation::description() const
45
foreach (QString paragraph, _description) {
51
void PropertyDocumentation::setType(const QString &type)
56
QString PropertyDocumentation::type() const
61
void PropertyDocumentation::setTypeLink(const QString& link)
66
QString PropertyDocumentation::typeLink() const
71
QString PropertyDocumentation::apiDocumentAnchor()
73
return QString("property").append(_name);