@@ -54,6 +54,10 @@ QVariantHash convertToQVariantHash(const unity::glib::HintsMap& var)
54 return hash;
54 return hash;
57+/* This will translate uris in the form of:
58+ * "subscope:master.scope/sub.scope?foo=bar"
59+ * into a QVariantHash that can be passed as a metadata field to scope.
57QVariantHash subscopeUriToMetadataHash(const QString &metadata_string)
61QVariantHash subscopeUriToMetadataHash(const QString &metadata_string)
59 QUrl metadata_url(metadata_string);
63 QUrl metadata_url(metadata_string);