76 lines
1.1 KiB
C++
76 lines
1.1 KiB
C++
#include "guidededitorelement.h"
|
|
#include <QString>
|
|
|
|
GuidedEditorElement::GuidedEditorElement(QObject *parent) : QObject(parent)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
GuidedEditorElement::~GuidedEditorElement()
|
|
{
|
|
|
|
}
|
|
|
|
QString GuidedEditorElement::getTitle() const
|
|
{
|
|
return title;
|
|
}
|
|
|
|
void GuidedEditorElement::setTitle(const QString &value)
|
|
{
|
|
title = value;
|
|
}
|
|
|
|
QString GuidedEditorElement::getDescription() const
|
|
{
|
|
return description;
|
|
}
|
|
|
|
void GuidedEditorElement::setDescription(const QString &value)
|
|
{
|
|
description = value;
|
|
}
|
|
|
|
QString GuidedEditorElement::getExample() const
|
|
{
|
|
return example;
|
|
}
|
|
|
|
void GuidedEditorElement::setExample(const QString &value)
|
|
{
|
|
example = value;
|
|
}
|
|
|
|
QString GuidedEditorElement::getSyntaxregex() const
|
|
{
|
|
return syntaxregex;
|
|
}
|
|
|
|
void GuidedEditorElement::setSyntaxregex(const QString &value)
|
|
{
|
|
syntaxregex = value;
|
|
}
|
|
|
|
ElementType GuidedEditorElement::getType() const
|
|
{
|
|
return type;
|
|
}
|
|
|
|
void GuidedEditorElement::setType(const ElementType &value)
|
|
{
|
|
type = value;
|
|
}
|
|
|
|
QString GuidedEditorElement::getValue() const
|
|
{
|
|
return value;
|
|
}
|
|
|
|
void GuidedEditorElement::setValue(const QString &value)
|
|
{
|
|
this->value = value;
|
|
}
|
|
|