summaryrefslogtreecommitdiff
path: root/daemon/manager.h
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/manager.h
parentbe139d8ff95160782b424134a025b30c82083e28 (diff)
hackily implement openURL by signalling the URLs via D-Bus to the
settings app, which pops a webview
Diffstat (limited to 'daemon/manager.h')
-rw-r--r--daemon/manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/manager.h b/daemon/manager.h
index f1dd53e..b0e15fb 100644
--- a/daemon/manager.h
+++ b/daemon/manager.h
@@ -84,6 +84,7 @@ public slots:
private slots:
void test();
+ void onWebviewClosed(const QString &result);
void onSettingChanged(const QString &key);
void onSettingsChanged();
void onPebbleChanged();
@@ -123,7 +124,7 @@ public slots:
void disconnect() { static_cast<Manager*>(parent())->watch->disconnect(); }
void reconnect() { static_cast<Manager*>(parent())->watch->reconnect(); }
void test() { static_cast<Manager*>(parent())->test(); }
-
+ void webviewClosed(const QString &result) { static_cast<Manager*>(parent())->onWebviewClosed(result); }
};
#endif // MANAGER_H