summaryrefslogtreecommitdiff
path: root/keyvalue.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyvalue.h')
-rw-r--r--keyvalue.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/keyvalue.h b/keyvalue.h
index b5b7b79..f8eb5c7 100644
--- a/keyvalue.h
+++ b/keyvalue.h
@@ -4,6 +4,8 @@
#include "g_object.h"
#include "g_property.h"
+namespace goodies
+{
class Q_DECL_EXPORT KeyValue : public G_Object
{
Q_OBJECT
@@ -18,9 +20,10 @@ public:
QObject* parent = nullptr
);
- G_OBJECT(G_Object, KeyValue)
- ASSIGN_OPERATOR(G_Object, KeyValue)
+ G_OBJECT(goodies::G_Object, KeyValue)
+ ASSIGN_OPERATOR(goodies::G_Object, KeyValue)
};
+} // namespace goodies
-Q_DECLARE_METATYPE(KeyValue)
-Q_DECLARE_METATYPE(QVector<KeyValue>)
+Q_DECLARE_METATYPE(goodies::KeyValue)
+Q_DECLARE_METATYPE(QVector<goodies::KeyValue>)