diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
commit | e510b6e4661f256a736b1eff42b4b7586acef788 (patch) | |
tree | e727e3df4ac98feb4fe6ef550ae39492c2843b66 /examples/sql | |
parent | 9474f82f8a4ca4abfc349c17debd84f26148fc20 (diff) |
include fixes
Fixed the include statements
added QT+=widgets in examples/network to
get them to compile. Will need something better
than doing it manually.
Diffstat (limited to 'examples/sql')
-rw-r--r-- | examples/sql/cachedtable/tableeditor.cpp | 2 | ||||
-rw-r--r-- | examples/sql/drilldown/imageitem.h | 2 | ||||
-rw-r--r-- | examples/sql/drilldown/informationwindow.h | 2 | ||||
-rw-r--r-- | examples/sql/drilldown/main.cpp | 2 | ||||
-rw-r--r-- | examples/sql/drilldown/view.h | 2 | ||||
-rw-r--r-- | examples/sql/masterdetail/dialog.h | 2 | ||||
-rw-r--r-- | examples/sql/masterdetail/main.cpp | 2 | ||||
-rw-r--r-- | examples/sql/masterdetail/mainwindow.cpp | 2 | ||||
-rw-r--r-- | examples/sql/querymodel/customsqlmodel.cpp | 2 | ||||
-rw-r--r-- | examples/sql/querymodel/main.cpp | 2 | ||||
-rw-r--r-- | examples/sql/relationaltablemodel/relationaltablemodel.cpp | 2 | ||||
-rw-r--r-- | examples/sql/sqlwidgetmapper/window.cpp | 2 | ||||
-rw-r--r-- | examples/sql/tablemodel/tablemodel.cpp | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/examples/sql/cachedtable/tableeditor.cpp b/examples/sql/cachedtable/tableeditor.cpp index 216f729d6f..02de4beb7a 100644 --- a/examples/sql/cachedtable/tableeditor.cpp +++ b/examples/sql/cachedtable/tableeditor.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include "tableeditor.h" diff --git a/examples/sql/drilldown/imageitem.h b/examples/sql/drilldown/imageitem.h index 13d99c3846..f2bd27bc9e 100644 --- a/examples/sql/drilldown/imageitem.h +++ b/examples/sql/drilldown/imageitem.h @@ -42,7 +42,7 @@ #define IMAGEITEM_H #include <QtCore> -#include <QtGui/QGraphicsPixmapItem> +#include <QtWidgets/QGraphicsPixmapItem> //! [0] class ImageItem : public QObject, public QGraphicsPixmapItem diff --git a/examples/sql/drilldown/informationwindow.h b/examples/sql/drilldown/informationwindow.h index 354823f152..b5cf25a8e0 100644 --- a/examples/sql/drilldown/informationwindow.h +++ b/examples/sql/drilldown/informationwindow.h @@ -41,7 +41,7 @@ #ifndef INFORMATIONWINDOW_H #define INFORMATIONWINDOW_H -#include <QtGui> +#include <QtWidgets> #include <QtSql> //! [0] diff --git a/examples/sql/drilldown/main.cpp b/examples/sql/drilldown/main.cpp index e3c8fa7cce..d139089dc3 100644 --- a/examples/sql/drilldown/main.cpp +++ b/examples/sql/drilldown/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "../connection.h" #include "view.h" diff --git a/examples/sql/drilldown/view.h b/examples/sql/drilldown/view.h index 3efe6bb8ce..98855350bd 100644 --- a/examples/sql/drilldown/view.h +++ b/examples/sql/drilldown/view.h @@ -41,7 +41,7 @@ #ifndef VIEW_H #define VIEW_H -#include <QtGui> +#include <QtWidgets> #include <QtSql> class ImageItem; diff --git a/examples/sql/masterdetail/dialog.h b/examples/sql/masterdetail/dialog.h index 5495a115b3..e311554597 100644 --- a/examples/sql/masterdetail/dialog.h +++ b/examples/sql/masterdetail/dialog.h @@ -41,7 +41,7 @@ #ifndef DIALOG_H #define DIALOG_H -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include <QtXml> diff --git a/examples/sql/masterdetail/main.cpp b/examples/sql/masterdetail/main.cpp index fe3dd9db50..0e2aca5d2e 100644 --- a/examples/sql/masterdetail/main.cpp +++ b/examples/sql/masterdetail/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "database.h" #include "mainwindow.h" diff --git a/examples/sql/masterdetail/mainwindow.cpp b/examples/sql/masterdetail/mainwindow.cpp index 24771bad09..d00946cb39 100644 --- a/examples/sql/masterdetail/mainwindow.cpp +++ b/examples/sql/masterdetail/mainwindow.cpp @@ -41,7 +41,7 @@ #include "mainwindow.h" #include "dialog.h" -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include <QtXml> diff --git a/examples/sql/querymodel/customsqlmodel.cpp b/examples/sql/querymodel/customsqlmodel.cpp index 5b09dd634b..534707e8e1 100644 --- a/examples/sql/querymodel/customsqlmodel.cpp +++ b/examples/sql/querymodel/customsqlmodel.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "customsqlmodel.h" diff --git a/examples/sql/querymodel/main.cpp b/examples/sql/querymodel/main.cpp index b6507e92c4..be2a4156ac 100644 --- a/examples/sql/querymodel/main.cpp +++ b/examples/sql/querymodel/main.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "../connection.h" #include "customsqlmodel.h" diff --git a/examples/sql/relationaltablemodel/relationaltablemodel.cpp b/examples/sql/relationaltablemodel/relationaltablemodel.cpp index ecb985e6b5..41dbdd2890 100644 --- a/examples/sql/relationaltablemodel/relationaltablemodel.cpp +++ b/examples/sql/relationaltablemodel/relationaltablemodel.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include "../connection.h" diff --git a/examples/sql/sqlwidgetmapper/window.cpp b/examples/sql/sqlwidgetmapper/window.cpp index 23954c95c7..4370f50869 100644 --- a/examples/sql/sqlwidgetmapper/window.cpp +++ b/examples/sql/sqlwidgetmapper/window.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include "window.h" diff --git a/examples/sql/tablemodel/tablemodel.cpp b/examples/sql/tablemodel/tablemodel.cpp index 41a42bc31e..23cf00bb97 100644 --- a/examples/sql/tablemodel/tablemodel.cpp +++ b/examples/sql/tablemodel/tablemodel.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include <QtSql> #include "../connection.h" |