summaryrefslogtreecommitdiffstats
path: root/examples/sql/cachedtable/tableeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/cachedtable/tableeditor.cpp')
-rw-r--r--examples/sql/cachedtable/tableeditor.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/sql/cachedtable/tableeditor.cpp b/examples/sql/cachedtable/tableeditor.cpp
index 97b3fa0d96..b92e256438 100644
--- a/examples/sql/cachedtable/tableeditor.cpp
+++ b/examples/sql/cachedtable/tableeditor.cpp
@@ -1,11 +1,16 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-#include <QtWidgets>
-#include <QtSql>
-
#include "tableeditor.h"
+#include <QDialogButtonBox>
+#include <QHBoxLayout>
+#include <QMessageBox>
+#include <QPushButton>
+#include <QSqlError>
+#include <QSqlTableModel>
+#include <QTableView>
+
//! [0]
TableEditor::TableEditor(const QString &tableName, QWidget *parent)
: QWidget(parent)