aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libqmenumodel/src/converter.h')
-rw-r--r--libqmenumodel/src/converter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libqmenumodel/src/converter.h b/libqmenumodel/src/converter.h
index 5f05bc7..f47c09e 100644
--- a/libqmenumodel/src/converter.h
+++ b/libqmenumodel/src/converter.h
@@ -28,6 +28,10 @@ class Converter
public:
static QVariant toQVariant(GVariant *value);
static GVariant* toGVariant(const QVariant &value);
+
+ // This converts a QVariant to a GVariant using a provided gvariant schema as
+ // a conversion base (it will attempt to convert to this format).
+ static GVariant* toGVariantWithSchema(const QVariant &value, const char* schema);
};
#endif // CONVERTER_H