diff options
author | Pierre Rossi <pierre.rossi@nokia.com> | 2010-01-07 12:25:23 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2010-01-12 18:19:13 (GMT) |
commit | 4db1405ffa66c33f3746baa09301cdc4e05cacc7 (patch) | |
tree | 87ba464b0d97c472f8e54b1c60e69522e0c895a3 /examples/webkit/googlechat/googlechat.h | |
parent | 152e4ee249915b15241c5f37830f37bb569151b6 (diff) | |
download | Qt-4db1405ffa66c33f3746baa09301cdc4e05cacc7.zip Qt-4db1405ffa66c33f3746baa09301cdc4e05cacc7.tar.gz Qt-4db1405ffa66c33f3746baa09301cdc4e05cacc7.tar.bz2 |
Modifies the google chat example to use the DOM API
Now that it's there, we might as well use it!
Reviewed-by: Benjamin Poulain
Diffstat (limited to 'examples/webkit/googlechat/googlechat.h')
-rw-r--r-- | examples/webkit/googlechat/googlechat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/webkit/googlechat/googlechat.h b/examples/webkit/googlechat/googlechat.h index 70f921e..617587a 100644 --- a/examples/webkit/googlechat/googlechat.h +++ b/examples/webkit/googlechat/googlechat.h @@ -40,6 +40,7 @@ ****************************************************************************/ #include <QWidget> +#include <QWebElement> #include "ui_form.h" @@ -53,7 +54,7 @@ public: protected: void showStatus(const QString &msg); void showError(const QString &msg); - QString evalJS(const QString &js); + QWebElement document() const; private slots: |