summaryrefslogtreecommitdiff
path: root/fakeproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fakeproperty.cpp')
-rw-r--r--fakeproperty.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/fakeproperty.cpp b/fakeproperty.cpp
new file mode 100644
index 0000000..38d9040
--- /dev/null
+++ b/fakeproperty.cpp
@@ -0,0 +1,16 @@
+#include "fakeproperty.h"
+
+FakeProperty::FakeProperty(const QString& key, const QVariant& value, QObject *parent) :
+ QObject(parent), _key(key), _value(value)
+{
+}
+
+const QString& FakeProperty::key() const
+{
+ return _key;
+}
+
+const QVariant& FakeProperty::value() const
+{
+ return _value;
+}