summaryrefslogtreecommitdiffstats
path: root/examples/tools/contiguouscache/randomlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/contiguouscache/randomlistmodel.h')
-rw-r--r--examples/tools/contiguouscache/randomlistmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/tools/contiguouscache/randomlistmodel.h b/examples/tools/contiguouscache/randomlistmodel.h
index 043fdf7a40..58427f0c53 100644
--- a/examples/tools/contiguouscache/randomlistmodel.h
+++ b/examples/tools/contiguouscache/randomlistmodel.h
@@ -43,7 +43,8 @@
#include <QContiguousCache>
#include <QAbstractListModel>
-class QTimer;
+QT_FORWARD_DECLARE_CLASS(QTimer)
+
class RandomListModel : public QAbstractListModel
{
Q_OBJECT