summaryrefslogtreecommitdiffstats
path: root/webview.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-11-16 11:25:26 +0100
committerRoopesh Chander <roop@forwardbias.in>2009-11-16 11:25:26 +0100
commitc85d8aedbc271e6b4bb811d93d9c2b1d2cdd987c (patch)
tree4da4d7aeb818c7ec8fb778721b751abba81e042d /webview.h
parent878022420d356fbb6c6c30b7e88f40a2183a03ef (diff)
looks like it's the big webview who's the bottle neck. lets cache him during the animation.
Diffstat (limited to 'webview.h')
-rw-r--r--webview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webview.h b/webview.h
index 756ac1a..8d4b3fd 100644
--- a/webview.h
+++ b/webview.h
@@ -29,6 +29,8 @@ public slots:
void hide();
void setScrapRect(QRect rect);
void setScrolledScrapRect(QRectF rect);
+ void enableCachedMode();
+ void disableCachedMode();
signals:
void scrapAdded(QUrl url, QSize pageSize, QRect scrapRect, QPoint position);