summaryrefslogtreecommitdiffstats
path: root/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'webview.h')
-rw-r--r--webview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webview.h b/webview.h
index 8d4b3fd..7f59d6a 100644
--- a/webview.h
+++ b/webview.h
@@ -27,13 +27,13 @@ public slots:
void addScrap();
void show();
void hide();
- void setScrapRect(QRect rect);
- void setScrolledScrapRect(QRectF rect);
+ void setScrapRect(const QRect &rect);
+ void setScrolledScrapRect(const QRectF &rect);
void enableCachedMode();
void disableCachedMode();
signals:
- void scrapAdded(QUrl url, QSize pageSize, QRect scrapRect, QPoint position);
+ void scrapAdded(const QUrl &url, const QSize &pageSize, const QRect &scrapRect, const QPoint &position);
protected:
void hoverMoveEvent(QGraphicsSceneHoverEvent* event);