Changeset 561 for trunk/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.h
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/3rdparty/webkit/WebKit/qt/Api/qwebpage.h (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.h
r2 r561 26 26 27 27 #include <QtCore/qobject.h> 28 28 29 #include <QtGui/qwidget.h> 29 30 … … 31 32 class QNetworkProxy; 32 33 class QUndoStack; 33 class QUrl;34 34 class QMenu; 35 35 class QNetworkRequest; … … 38 38 QT_END_NAMESPACE 39 39 40 40 41 class QWebFrame; 41 42 class QWebNetworkRequest; … … 53 54 class EditorClientQt; 54 55 class FrameLoaderClientQt; 55 class FrameLoadRequest;56 56 class InspectorClientQt; 57 57 class ResourceHandle; 58 58 class HitTestResult; 59 60 61 59 62 } 60 63 61 class QWEBKIT_EXPORT QWebPage : public QObject 62 { 64 class QWEBKIT_EXPORT QWebPage : public QObject { 63 65 Q_OBJECT 64 66 … … 66 68 Q_PROPERTY(QString selectedText READ selectedText) 67 69 Q_PROPERTY(QSize viewportSize READ viewportSize WRITE setViewportSize) 70 68 71 Q_PROPERTY(bool forwardUnsupportedContent READ forwardUnsupportedContent WRITE setForwardUnsupportedContent) 69 72 Q_PROPERTY(LinkDelegationPolicy linkDelegationPolicy READ linkDelegationPolicy WRITE setLinkDelegationPolicy) … … 148 151 149 152 SelectAll, 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 150 170 151 171 WebActionCount … … 155 175 FindBackward = 1, 156 176 FindCaseSensitively = 2, 157 FindWrapsAroundDocument = 4 177 FindWrapsAroundDocument = 4, 178 HighlightAllOccurrences = 8 158 179 }; 159 180 Q_DECLARE_FLAGS(FindFlags, FindFlag) … … 175 196 QWebFrame *mainFrame() const; 176 197 QWebFrame *currentFrame() const; 198 177 199 178 200 QWebHistory *history() const; … … 216 238 void setViewportSize(const QSize &size) const; 217 239 240 241 242 218 243 virtual bool event(QEvent*); 219 244 bool focusNextPrevChild(bool next); … … 243 268 244 269 enum Extension { 245 ChooseMultipleFilesExtension 270 ChooseMultipleFilesExtension, 271 ErrorPageExtension 246 272 }; 247 273 class ExtensionOption … … 261 287 }; 262 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 263 309 virtual bool extension(Extension extension, const ExtensionOption *option = 0, ExtensionReturn *output = 0); 264 310 virtual bool supportsExtension(Extension extension) const; 265 311 266 312 inline QWebPagePrivate* handle() const { return d; } 313 314 315 267 316 268 317 Q_SIGNALS: … … 318 367 Q_PRIVATE_SLOT(d, void _q_onLoadProgressChanged(int)) 319 368 Q_PRIVATE_SLOT(d, void _q_webActionTriggered(bool checked)) 369 370 320 371 QWebPagePrivate *d; 321 372 … … 323 374 friend class QWebPagePrivate; 324 375 friend class QWebView; 376 377 325 378 friend class WebCore::ChromeClientQt; 326 379 friend class WebCore::EditorClientQt; … … 328 381 friend class WebCore::InspectorClientQt; 329 382 friend class WebCore::ResourceHandle; 383 330 384 }; 331 385
Note:
See TracChangeset
for help on using the changeset viewer.
