QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QWebPage.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QWEBPAGE_H
2 #define QTSCRIPTSHELL_QWEBPAGE_H
3 
4 #include <qwebpage.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QWebPage : public QWebPage
9 {
10 public:
11  QtScriptShell_QWebPage(QObject* parent = 0);
13 
14  bool acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type);
15  void childEvent(QChildEvent* arg__1);
16  QString chooseFile(QWebFrame* originatingFrame, const QString& oldFile);
17  QObject* createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues);
18  QWebPage* createWindow(QWebPage::WebWindowType type);
19  void customEvent(QEvent* arg__1);
20  bool event(QEvent* arg__1);
21  bool eventFilter(QObject* arg__1, QEvent* arg__2);
22  bool extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option = 0, QWebPage::ExtensionReturn* output = 0);
23  void javaScriptAlert(QWebFrame* originatingFrame, const QString& msg);
24  bool javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg);
25  void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID);
26  bool javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result);
27  bool supportsExtension(QWebPage::Extension extension) const;
28  void timerEvent(QTimerEvent* arg__1);
29  void triggerAction(QWebPage::WebAction action, bool checked = false);
30  QString userAgentForUrl(const QUrl& url) const;
31 
32  QScriptValue __qtscript_self;
33 };
34 
35 #endif // QTSCRIPTSHELL_QWEBPAGE_H