summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/chip/view.h')
-rw-r--r--examples/widgets/graphicsview/chip/view.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/widgets/graphicsview/chip/view.h b/examples/widgets/graphicsview/chip/view.h
index ea7bd414f5..cb5be6282b 100644
--- a/examples/widgets/graphicsview/chip/view.h
+++ b/examples/widgets/graphicsview/chip/view.h
@@ -86,8 +86,10 @@ public:
QGraphicsView *view() const;
public slots:
- void zoomIn(int level = 1);
- void zoomOut(int level = 1);
+ void zoomIn();
+ void zoomOut();
+ void zoomInBy(int level);
+ void zoomOutBy(int level);
private slots:
void resetView();