summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/icons/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/icons/mainwindow.h')
-rw-r--r--examples/widgets/widgets/icons/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/widgets/icons/mainwindow.h b/examples/widgets/widgets/icons/mainwindow.h
index c67d828cab..9250711ecc 100644
--- a/examples/widgets/widgets/icons/mainwindow.h
+++ b/examples/widgets/widgets/icons/mainwindow.h
@@ -62,6 +62,7 @@ class QActionGroup;
class QLabel;
class QButtonGroup;
class QTableWidget;
+class QAbstractButton;
QT_END_NAMESPACE
class IconPreviewArea;
class IconSizeSpinBox;
@@ -81,7 +82,7 @@ public:
private slots:
void about();
void changeStyle(bool checked);
- void changeSize(int, bool);
+ void changeSize(QAbstractButton *button, bool);
void triggerChangeSize();
void changeIcon();
void addSampleImages();