This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-01-16 11:43:20 +01:00

27 lines
340 B
C++

#include "script.h"
Script::Script(const QUuid &id, QObject *parent):
QObject(parent),
m_id(id)
{
}
QUuid Script::id() const
{
return m_id;
}
QString Script::name() const
{
return m_name;
}
void Script::setName(const QString &name)
{
if (m_name != name) {
m_name = name;
emit nameChanged();
}
}