summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlwidgetmapper/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/sqlwidgetmapper/window.cpp')
-rw-r--r--examples/sql/sqlwidgetmapper/window.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/examples/sql/sqlwidgetmapper/window.cpp b/examples/sql/sqlwidgetmapper/window.cpp
index fee3bc78dd..cd44174f84 100644
--- a/examples/sql/sqlwidgetmapper/window.cpp
+++ b/examples/sql/sqlwidgetmapper/window.cpp
@@ -1,11 +1,20 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-#include <QtWidgets>
-#include <QtSql>
-
#include "window.h"
+#include <QComboBox>
+#include <QDataWidgetMapper>
+#include <QGridLayout>
+#include <QLabel>
+#include <QLineEdit>
+#include <QMessageBox>
+#include <QPushButton>
+#include <QSqlQuery>
+#include <QSqlRelationalDelegate>
+#include <QSqlTableModel>
+#include <QTextEdit>
+
//! [Set up widgets]
Window::Window(QWidget *parent)
: QWidget(parent)