QAction* QWebPageProto::action(QWebPage::WebAction action) const { QWebPage *item = qscriptvalue_cast<QWebPage*>(thisObject()); if (item) return item->action(action); return 0; }