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.
This commit is contained in:
Lars Knoll 2011-05-07 22:57:49 +02:00
parent 9474f82f8a
commit e510b6e466
381 changed files with 412 additions and 385 deletions

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QtCore/qstate.h>
class Pixmap : public QObject, public QGraphicsPixmapItem

View File

@ -39,7 +39,7 @@
****************************************************************************/
#include <QtCore>
#include <QtGui>
#include <QtWidgets>
class Pixmap : public QGraphicsWidget

View File

@ -41,7 +41,7 @@
#ifndef ANIMATION_H
#define ANIMATION_H
#include <QtGui>
#include <QtWidgets>
#include <QtCore/qpropertyanimation.h>

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"
int main(int argc, char **argv)

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "ui_form.h"
#include "animation.h"

View File

@ -39,7 +39,7 @@
****************************************************************************/
#include <QtCore>
#include <QtGui>
#include <QtWidgets>
//![15]
class StateSwitchEvent: public QEvent

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
class Pixmap : public QGraphicsObject
{

View File

@ -42,8 +42,8 @@
#include "stickman.h"
#include <QtGui/QKeyEvent>
#include <QtGui/QGraphicsScene>
#include <QtGui/QGraphicsView>
#include <QtWidgets/QGraphicsScene>
#include <QtWidgets/QGraphicsView>
GraphicsView::GraphicsView(QWidget *parent) : QGraphicsView(parent), m_editor(0) {}

View File

@ -41,7 +41,7 @@
#ifndef GRAPHICSVIEW_H
#define GRAPHICSVIEW
#include <QtGui/QGraphicsView>
#include <QtWidgets/QGraphicsView>
class MainWindow;
class GraphicsView: public QGraphicsView

View File

@ -45,7 +45,7 @@
#include "graphicsview.h"
#include <QtCore>
#include <QtGui>
#include <QtWidgets>
class KeyPressTransition: public QSignalTransition
{

View File

@ -45,7 +45,7 @@
#include "graphicsview.h"
#include <QtCore>
#include <QtGui>
#include <QtWidgets>
int main(int argc, char **argv)
{

View File

@ -39,8 +39,8 @@
****************************************************************************/
#include "chat.h"
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMessageBox>
#include "chat_adaptor.h"
#include "chat_interface.h"

View File

@ -39,7 +39,7 @@
****************************************************************************/
#include "car.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
#include <math.h>
static const double Pi = 3.14159265358979323846264338327950288419717;

View File

@ -40,9 +40,9 @@
#include "car.h"
#include "car_adaptor.h"
#include <QtGui/QApplication>
#include <QtGui/QGraphicsView>
#include <QtGui/QGraphicsScene>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGraphicsView>
#include <QtWidgets/QGraphicsScene>
#include <QtDBus/QDBusConnection>
int main(int argc, char *argv[])

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "controller.h"
#include "car_interface.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QtDBus>
#include "controller.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "screenshot.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "classwizard.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "configdialog.h"
#include "pages.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "pages.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "finddialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "licensewizard.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "dialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "dialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "dialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "tabdialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QTranslator>
#include <QLocale>
#include <QLibraryInfo>

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "dragwidget.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "draglabel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "draglabel.h"
#include "dragwidget.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "droparea.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "droparea.h"
#include "dropsitewindow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "draglabel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "draglabel.h"
#include "dragwidget.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <stdlib.h>
#include "mainwindow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "pieceslist.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "puzzlewidget.h"

View File

@ -40,7 +40,7 @@
#include "blurpicker.h"
#include <QtGui>
#include <QtWidgets>
#include "blureffect.h"

View File

@ -40,7 +40,7 @@
#include "fademessage.h"
#include <QtGui>
#include <QtWidgets>
FadeMessage::FadeMessage(QWidget *parent): QGraphicsView(parent)
{

View File

@ -40,7 +40,7 @@
#include "lighting.h"
#include <QtGui>
#include <QtWidgets>
#ifndef M_PI
#define M_PI 3.14159265358979323846

View File

@ -1,3 +1,5 @@
Qt += widgets
TEMPLATE = subdirs
SUBDIRS = \
network \

View File

@ -41,7 +41,7 @@
#include "imagewidget.h"
#include <QtGui>
#include <QtWidgets>
//! [constructor]
ImageWidget::ImageWidget(QWidget *parent)

View File

@ -43,7 +43,7 @@
#include <QWidget>
#include <QImage>
#include <QtGui>
#include <QtWidgets>
QT_BEGIN_NAMESPACE
class QGestureEvent;

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwidget.h"

View File

@ -41,7 +41,7 @@
#include <QGraphicsWidget>
#include <QGraphicsProxyWidget>
#include <QGraphicsAnchorLayout>
#include <QtGui>
#include <QtWidgets>
static QGraphicsProxyWidget *createItem(const QSizeF &minimum = QSizeF(100.0, 100.0),
const QSizeF &preferred = QSize(150.0, 100.0),

View File

@ -40,7 +40,7 @@
#ifndef LAYOUTITEM_H
#define LAYOUTITEM_H
#include <QtGui>
#include <QtWidgets>
//! [0]
class LayoutItem : public QGraphicsLayoutItem, public QGraphicsItem

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -41,7 +41,7 @@
#ifndef WINDOW_H
#define WINDOW_H
#include <QtGui/QGraphicsWidget>
#include <QtWidgets/QGraphicsWidget>
//! [0]
class Window : public QGraphicsWidget {

View File

@ -40,7 +40,7 @@
#include "mouse.h"
#include <QtGui>
#include <QtWidgets>
#include <math.h>

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "arrow.h"
#include <math.h>

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "diagramitem.h"
#include "arrow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "diagramscene.h"
#include "arrow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "diagramtextitem.h"
#include "diagramscene.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwindow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QLabel>
#include "mainwindow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "coloritem.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "coloritem.h"
#include "robot.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "robot.h"

View File

@ -42,7 +42,7 @@
#include "edge.h"
#include "node.h"
#include <QtGui>
#include <QtWidgets>
#include <math.h>

View File

@ -41,7 +41,7 @@
#ifndef GRAPHWIDGET_H
#define GRAPHWIDGET_H
#include <QtGui/QGraphicsView>
#include <QtWidgets/QGraphicsView>
class Node;

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "graphwidget.h"

View File

@ -39,7 +39,7 @@
****************************************************************************/
#include "flowlayout.h"
#include <QtGui/qwidget.h>
#include <QtWidgets/qwidget.h>
#include <QtCore/qmath.h>
FlowLayout::FlowLayout()

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui/qgraphicslayout.h>
#include <QtWidgets/qgraphicslayout.h>
class FlowLayout : public QGraphicsLayout
{

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"
int main(int argc, char **argv)

View File

@ -38,8 +38,8 @@
**
****************************************************************************/
#include <QtGui/qgraphicsproxywidget.h>
#include <QtGui/qlabel.h>
#include <QtWidgets/qgraphicsproxywidget.h>
#include <QtWidgets/qlabel.h>
#include "flowlayout.h"
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui/qgraphicswidget.h>
#include <QtWidgets/qgraphicswidget.h>
class Window : public QGraphicsWidget {
Q_OBJECT

View File

@ -40,7 +40,7 @@
#include "flippablepad.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
//! [0]
static QRectF boundsFromSize(const QSize &size)

View File

@ -40,7 +40,7 @@
#include "padnavigator.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
//! [0]
int main(int argc, char *argv[])

View File

@ -42,7 +42,7 @@
#include "padnavigator.h"
#include "splashitem.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
#ifndef QT_NO_OPENGL
#include <QtOpenGL/QtOpenGL>
#endif

View File

@ -40,7 +40,7 @@
#include "roundrectitem.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
//! [0]
RoundRectItem::RoundRectItem(const QRectF &bounds, const QColor &color,

View File

@ -40,7 +40,7 @@
#include "splashitem.h"
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
//! [0]
SplashItem::SplashItem(QGraphicsItem *parent)

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
class Widget : public QGraphicsWidget
{

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QtNetwork>
#include "client.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include <QtNetwork>
#include <stdlib.h>

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "adddialog.h"
//! [0]

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "addresswidget.h"
#include "adddialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwindow.h"
//! [0]

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwindow.h"
//! [0]

View File

@ -41,7 +41,7 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGui>
#include <QtWidgets>
#include "addresswidget.h"
//! [0]

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "newaddresstab.h"
#include "adddialog.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "pieview.h"
#include "mainwindow.h"

View File

@ -39,7 +39,7 @@
****************************************************************************/
#include <math.h>
#include <QtGui>
#include <QtWidgets>
#ifndef M_PI
#define M_PI 3.1415927

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "colorlisteditor.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"
#include "colorlisteditor.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"
//! [Set up widgets]

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mysortfilterproxymodel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mysortfilterproxymodel.h"
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
int main(int argc, char *argv[])
{

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwindow.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "mainwindow.h"
#include "treemodel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "treeitem.h"
#include "treemodel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "filelistmodel.h"
#include "window.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "freezetablewidget.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "imagemodel.h"

View File

@ -38,7 +38,7 @@
**
****************************************************************************/
#include <QtGui>
#include <QtWidgets>
#include "imagemodel.h"
#include "mainwindow.h"

Some files were not shown because too many files have changed in this diff Show More