summaryrefslogtreecommitdiffstats
path: root/examples/webkit/googlechat/googlechat.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2010-01-07 12:25:23 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2010-01-12 18:19:13 (GMT)
commit4db1405ffa66c33f3746baa09301cdc4e05cacc7 (patch)
tree87ba464b0d97c472f8e54b1c60e69522e0c895a3 /examples/webkit/googlechat/googlechat.h
parent152e4ee249915b15241c5f37830f37bb569151b6 (diff)
downloadQt-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.h3
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: