diff options
| author | Philipp Andreas <github@smurfy.de> | 2015-01-14 02:10:36 +0100 |
|---|---|---|
| committer | Philipp Andreas <github@smurfy.de> | 2015-01-14 02:10:36 +0100 |
| commit | 857d9547a9fc4a00c6e621fb54720d047ba90864 (patch) | |
| tree | d6aa0a6ea8bf76e6da7d353ff6084db82d583fa9 /app/pebblestoreview.h | |
| parent | e8f9a4da6c486ee4da9ae300019856976ff0a760 (diff) | |
First prototype of pebble app store integration
Diffstat (limited to 'app/pebblestoreview.h')
| -rw-r--r-- | app/pebblestoreview.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/pebblestoreview.h b/app/pebblestoreview.h new file mode 100644 index 0000000..f0d18f6 --- /dev/null +++ b/app/pebblestoreview.h @@ -0,0 +1,23 @@ +#ifndef PEBBLESTOREVIEW_H +#define PEBBLESTOREVIEW_H + +#include <private/qquickwebview_p.h> +#include <private/qwebnavigationrequest_p.h> +#include <QQuickItem> + +class PebbleStoreView : public QQuickWebView +{ + Q_OBJECT +public: + PebbleStoreView(); + +public slots: + void onNavigationRequested(QWebNavigationRequest* request); + +signals: + void loginSuccess(const QString & accessToken); + void downloadPebbleApp(const QString & title, const QString & downloadUrl); + void call(const QString &, const QString &); +}; + +#endif // PEBBLESTOREVIEW_H |
