diff options
author | David Schulz <david.schulz@digia.com> | 2012-11-23 14:27:50 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-25 01:34:07 +0100 |
commit | 4ac521354dfa575c31ecb732a0f8c1e18827c21e (patch) | |
tree | 20833a59d0c291c582332c4cc0f7e724d1c9b996 /examples/widgets/draganddrop/dropsite | |
parent | d5ec06be6397b807b743aa46707ff45aa9dccafa (diff) |
QtBase: example code style
Change-Id: I0685f7e2c7c698a4bf288b8b1ae909167932a3fb
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/draganddrop/dropsite')
-rw-r--r-- | examples/widgets/draganddrop/dropsite/droparea.cpp | 5 | ||||
-rw-r--r-- | examples/widgets/draganddrop/dropsite/droparea.h | 2 | ||||
-rw-r--r-- | examples/widgets/draganddrop/dropsite/dropsitewindow.h | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/examples/widgets/draganddrop/dropsite/droparea.cpp b/examples/widgets/draganddrop/dropsite/droparea.cpp index e4c087852a..9982529d98 100644 --- a/examples/widgets/draganddrop/dropsite/droparea.cpp +++ b/examples/widgets/draganddrop/dropsite/droparea.cpp @@ -38,10 +38,11 @@ ** ****************************************************************************/ -#include <QtWidgets> - #include "droparea.h" +#include <QDragEnterEvent> +#include <QMimeData> + //! [DropArea constructor] DropArea::DropArea(QWidget *parent) : QLabel(parent) diff --git a/examples/widgets/draganddrop/dropsite/droparea.h b/examples/widgets/draganddrop/dropsite/droparea.h index ac66182a70..8784090325 100644 --- a/examples/widgets/draganddrop/dropsite/droparea.h +++ b/examples/widgets/draganddrop/dropsite/droparea.h @@ -74,4 +74,4 @@ private: }; //! [DropArea header part2] -#endif +#endif // DROPAREA_H diff --git a/examples/widgets/draganddrop/dropsite/dropsitewindow.h b/examples/widgets/draganddrop/dropsite/dropsitewindow.h index a4aeaf4fc5..45fdd36d3f 100644 --- a/examples/widgets/draganddrop/dropsite/dropsitewindow.h +++ b/examples/widgets/draganddrop/dropsite/dropsitewindow.h @@ -74,4 +74,4 @@ private: }; //! [DropSiteWindow header] -#endif +#endif // DROPSITEWINDOW_H |