src/linetypes/metacommand.h

Sun, 19 Jan 2020 13:53:07 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 19 Jan 2020 13:53:07 +0200
changeset 23
3387a84ddaba
parent 14
20d2ed3af73d
child 35
98906a94732f
permissions
-rw-r--r--

fixed a pile of nonsense that caused subfiles to go haywire

#pragma once
#include "object.h"

namespace linetypes
{
	class MetaCommand;
}
class linetypes::MetaCommand : public Object
{
public:
	MetaCommand() = default;
	MetaCommand(QStringView text);
	QVariant getProperty(Property property) const override;
	SetPropertyResult setProperty(
		Property property,
		const QVariant& value) override;
	QString textRepresentation() const override;
private:
	QString storedText = "";
};

mercurial