summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/embeddeddialogs/customproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/embeddeddialogs/customproxy.h')
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/customproxy.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/widgets/graphicsview/embeddeddialogs/customproxy.h b/examples/widgets/graphicsview/embeddeddialogs/customproxy.h
index 4e884779fc..b20c05ce5b 100644
--- a/examples/widgets/graphicsview/embeddeddialogs/customproxy.h
+++ b/examples/widgets/graphicsview/embeddeddialogs/customproxy.h
@@ -42,12 +42,13 @@
#ifndef CUSTOMPROXY_H
#define CUSTOMPROXY_H
-#include <QtCore/qtimeline.h>
-#include <QtWidgets/qgraphicsproxywidget.h>
+#include <QTimeLine>
+#include <QGraphicsProxyWidget>
class CustomProxy : public QGraphicsProxyWidget
{
Q_OBJECT
+
public:
explicit CustomProxy(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
@@ -73,4 +74,4 @@ private:
QGraphicsItem *currentPopup;
};
-#endif
+#endif // CUSTOMPROXY_H