summaryrefslogtreecommitdiff
path: root/daemon/dbusadaptor.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-01 04:13:06 +0100
committerJavier <dev.git@javispedro.com>2014-12-01 04:13:06 +0100
commit81f91639969de0f3852a3fe73db13b4cb0ecf3b4 (patch)
treeac5f3146707e0b46723bfdf13b7ced5cdf16633d /daemon/dbusadaptor.cpp
parentbe139d8ff95160782b424134a025b30c82083e28 (diff)
hackily implement openURL by signalling the URLs via D-Bus to the
settings app, which pops a webview
Diffstat (limited to 'daemon/dbusadaptor.cpp')
-rw-r--r--daemon/dbusadaptor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/dbusadaptor.cpp b/daemon/dbusadaptor.cpp
index 7bbf623..25e2508 100644
--- a/daemon/dbusadaptor.cpp
+++ b/daemon/dbusadaptor.cpp
@@ -85,3 +85,8 @@ void PebbledAdaptor::test()
{
QMetaObject::invokeMethod(parent(), "test");
}
+
+void PebbledAdaptor::webviewClosed(const QString &result)
+{
+ QMetaObject::invokeMethod(parent(), "webviewClosed", Q_ARG(QString, result));
+}