src/objecttypes/metacommand.h

changeset 8
44679e468ba9
child 13
6e838748867b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/objecttypes/metacommand.h	Sun Nov 03 12:17:41 2019 +0200
@@ -0,0 +1,20 @@
+#pragma once
+#include "modelobject.h"
+
+namespace modelobjects
+{
+	class MetaCommand;
+}
+class modelobjects::MetaCommand : public BaseObject
+{
+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