summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-31 00:17:28 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-31 00:17:28 (GMT)
commit4e4c0055d59978850796ff8c1b5015e17459e8d2 (patch)
treeed5d40319fd78dae008dfb740deab0d82aa9ac90 /src/gui/graphicsview
parentf17e398f661d903a9fda0bfb3725fd881656e9d4 (diff)
downloadQt-4e4c0055d59978850796ff8c1b5015e17459e8d2.zip
Qt-4e4c0055d59978850796ff8c1b5015e17459e8d2.tar.gz
Qt-4e4c0055d59978850796ff8c1b5015e17459e8d2.tar.bz2
Revert "Add a a layout property in QGraphicsWidget."
This reverts commit 87fae30fc63460e0ed2cc98f55a22e28d7520311. This drop the support of QML on top of 4.6
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicswidget.cpp1
-rw-r--r--src/gui/graphicsview/qgraphicswidget.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget.cpp b/src/gui/graphicsview/qgraphicswidget.cpp
index 654a432..131ee87 100644
--- a/src/gui/graphicsview/qgraphicswidget.cpp
+++ b/src/gui/graphicsview/qgraphicswidget.cpp
@@ -801,7 +801,6 @@ void QGraphicsWidget::setLayout(QGraphicsLayout *l)
l->setParentLayoutItem(this);
l->d_func()->reparentChildItems(this);
l->invalidate();
- emit layoutChanged();
}
/*!
diff --git a/src/gui/graphicsview/qgraphicswidget.h b/src/gui/graphicsview/qgraphicswidget.h
index 730674c..468a134 100644
--- a/src/gui/graphicsview/qgraphicswidget.h
+++ b/src/gui/graphicsview/qgraphicswidget.h
@@ -82,7 +82,6 @@ class Q_GUI_EXPORT QGraphicsWidget : public QGraphicsObject, public QGraphicsLay
Q_PROPERTY(Qt::WindowFlags windowFlags READ windowFlags WRITE setWindowFlags)
Q_PROPERTY(QString windowTitle READ windowTitle WRITE setWindowTitle)
Q_PROPERTY(QRectF geometry READ geometry WRITE setGeometry NOTIFY geometryChanged)
- Q_PROPERTY(QGraphicsLayout* layout READ layout WRITE setLayout NOTIFY layoutChanged)
public:
QGraphicsWidget(QGraphicsItem *parent = 0, Qt::WindowFlags wFlags = 0);
~QGraphicsWidget();
@@ -177,7 +176,6 @@ public:
Q_SIGNALS:
void geometryChanged();
- void layoutChanged();
public Q_SLOTS:
bool close();