diff --git a/src/libs/qmljsdebugger/editor/abstractformeditortool.h b/src/libs/qmljsdebugger/editor/abstractformeditortool.h index 538e4ba9f6a29f7dc18b5c295448495de64ba20a..2f8f3420f8f5e1c78ad2ef63e4b2f95306c5ae8d 100644 --- a/src/libs/qmljsdebugger/editor/abstractformeditortool.h +++ b/src/libs/qmljsdebugger/editor/abstractformeditortool.h @@ -72,7 +72,6 @@ public: virtual void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList) = 0; virtual void clear() = 0; - virtual void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList) = 0; void updateSelectedItems(); QList<QGraphicsItem*> items() const; diff --git a/src/libs/qmljsdebugger/editor/colorpickertool.cpp b/src/libs/qmljsdebugger/editor/colorpickertool.cpp index 86f24bf8a7c49bb669020c69f8bbe562953ca763..5bc349cba9023e4ccdebc008ec60c740fa1af14a 100644 --- a/src/libs/qmljsdebugger/editor/colorpickertool.cpp +++ b/src/libs/qmljsdebugger/editor/colorpickertool.cpp @@ -65,10 +65,6 @@ void ColorPickerTool::clear() view()->setCursor(Qt::CrossCursor); } -void ColorPickerTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/) -{ -} - void ColorPickerTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) { } diff --git a/src/libs/qmljsdebugger/editor/colorpickertool.h b/src/libs/qmljsdebugger/editor/colorpickertool.h index 24221dce7564ed6bb6a78e8d1820e0bde35d4f44..f762179c410186103a6cdfb1066f872cefa93dcc 100644 --- a/src/libs/qmljsdebugger/editor/colorpickertool.h +++ b/src/libs/qmljsdebugger/editor/colorpickertool.h @@ -32,7 +32,6 @@ public: void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void clear(); - void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList); signals: void selectedColorChanged(const QColor &color); diff --git a/src/libs/qmljsdebugger/editor/selectiontool.cpp b/src/libs/qmljsdebugger/editor/selectiontool.cpp index 6c76ec1bc171ff0529f453949c0a4b3029107a9b..2efb0d6c8798c28948af17b9982b8ad25e8d3731 100644 --- a/src/libs/qmljsdebugger/editor/selectiontool.cpp +++ b/src/libs/qmljsdebugger/editor/selectiontool.cpp @@ -411,12 +411,6 @@ void SelectionTool::selectedItemsChanged(const QList<QGraphicsItem*> &itemList) //m_resizeIndicator.setItems(toGraphicsObjectList(itemList)); } -void SelectionTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList) -{ - m_selectionIndicator.updateItems(itemList); - //m_resizeIndicator.updateItems(itemList); -} - void SelectionTool::selectUnderPoint(QMouseEvent *event) { m_singleSelectionManipulator.begin(event->pos()); diff --git a/src/libs/qmljsdebugger/editor/selectiontool.h b/src/libs/qmljsdebugger/editor/selectiontool.h index 0dc01c41227101db132550ced26c1f76a994d444..b47c5c1b6d115a33fde2646101398d0119175627 100644 --- a/src/libs/qmljsdebugger/editor/selectiontool.h +++ b/src/libs/qmljsdebugger/editor/selectiontool.h @@ -76,8 +76,6 @@ public: void selectedItemsChanged(const QList<QGraphicsItem*> &itemList); - void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList); - void selectUnderPoint(QMouseEvent *event); void setSelectOnlyContentItems(bool selectOnlyContentItems); diff --git a/src/libs/qmljsdebugger/editor/subcomponenteditortool.cpp b/src/libs/qmljsdebugger/editor/subcomponenteditortool.cpp index 6911e11cd497346e71313096e58dbbd3829fff52..67851cc14d2defa0f423c955d212ff6b99d33d83 100644 --- a/src/libs/qmljsdebugger/editor/subcomponenteditortool.cpp +++ b/src/libs/qmljsdebugger/editor/subcomponenteditortool.cpp @@ -126,11 +126,6 @@ void SubcomponentEditorTool::clear() emit cleared(); } -void SubcomponentEditorTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/) -{ - -} - void SubcomponentEditorTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) { diff --git a/src/libs/qmljsdebugger/editor/subcomponenteditortool.h b/src/libs/qmljsdebugger/editor/subcomponenteditortool.h index d914cd6abeae669b39dcd50cb6e8ea0b35a4c785..63af50ffb0935d29e4429de711ed8ffb44bf207a 100644 --- a/src/libs/qmljsdebugger/editor/subcomponenteditortool.h +++ b/src/libs/qmljsdebugger/editor/subcomponenteditortool.h @@ -33,7 +33,6 @@ public: void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void clear(); - void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList); bool containsCursor(const QPoint &mousePos) const; bool itemIsChildOfQmlSubComponent(QGraphicsItem *item) const; diff --git a/src/libs/qmljsdebugger/editor/zoomtool.cpp b/src/libs/qmljsdebugger/editor/zoomtool.cpp index 542b51e6c2aab03b3991595553bdaa05074ca55e..05937eafc2c2ee4a1690d1be2b0824a2401ace0f 100644 --- a/src/libs/qmljsdebugger/editor/zoomtool.cpp +++ b/src/libs/qmljsdebugger/editor/zoomtool.cpp @@ -202,10 +202,6 @@ void ZoomTool::clear() view()->setCursor(Qt::ArrowCursor); } -void ZoomTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/) -{ -} - void ZoomTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) { } diff --git a/src/libs/qmljsdebugger/editor/zoomtool.h b/src/libs/qmljsdebugger/editor/zoomtool.h index 099f956f30e0766ba2e3bcadd01660cfa93dc2ee..f3774efa11ca74b637c8472518e7dd49ea0f15f0 100644 --- a/src/libs/qmljsdebugger/editor/zoomtool.h +++ b/src/libs/qmljsdebugger/editor/zoomtool.h @@ -34,8 +34,6 @@ public: void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void clear(); - void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList); - protected: void selectedItemsChanged(const QList<QGraphicsItem*> &itemList);