Commit 64f668fe authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

QML JS Debugger: Removed unused method from tools interface

parent af801248
...@@ -72,7 +72,6 @@ public: ...@@ -72,7 +72,6 @@ public:
virtual void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList) = 0; virtual void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList) = 0;
virtual void clear() = 0; virtual void clear() = 0;
virtual void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList) = 0;
void updateSelectedItems(); void updateSelectedItems();
QList<QGraphicsItem*> items() const; QList<QGraphicsItem*> items() const;
......
...@@ -65,10 +65,6 @@ void ColorPickerTool::clear() ...@@ -65,10 +65,6 @@ void ColorPickerTool::clear()
view()->setCursor(Qt::CrossCursor); view()->setCursor(Qt::CrossCursor);
} }
void ColorPickerTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/)
{
}
void ColorPickerTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) void ColorPickerTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/)
{ {
} }
......
...@@ -32,7 +32,6 @@ public: ...@@ -32,7 +32,6 @@ public:
void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList);
void clear(); void clear();
void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList);
signals: signals:
void selectedColorChanged(const QColor &color); void selectedColorChanged(const QColor &color);
......
...@@ -411,12 +411,6 @@ void SelectionTool::selectedItemsChanged(const QList<QGraphicsItem*> &itemList) ...@@ -411,12 +411,6 @@ void SelectionTool::selectedItemsChanged(const QList<QGraphicsItem*> &itemList)
//m_resizeIndicator.setItems(toGraphicsObjectList(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) void SelectionTool::selectUnderPoint(QMouseEvent *event)
{ {
m_singleSelectionManipulator.begin(event->pos()); m_singleSelectionManipulator.begin(event->pos());
......
...@@ -76,8 +76,6 @@ public: ...@@ -76,8 +76,6 @@ public:
void selectedItemsChanged(const QList<QGraphicsItem*> &itemList); void selectedItemsChanged(const QList<QGraphicsItem*> &itemList);
void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList);
void selectUnderPoint(QMouseEvent *event); void selectUnderPoint(QMouseEvent *event);
void setSelectOnlyContentItems(bool selectOnlyContentItems); void setSelectOnlyContentItems(bool selectOnlyContentItems);
......
...@@ -126,11 +126,6 @@ void SubcomponentEditorTool::clear() ...@@ -126,11 +126,6 @@ void SubcomponentEditorTool::clear()
emit cleared(); emit cleared();
} }
void SubcomponentEditorTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/)
{
}
void SubcomponentEditorTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) void SubcomponentEditorTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/)
{ {
......
...@@ -33,7 +33,6 @@ public: ...@@ -33,7 +33,6 @@ public:
void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList);
void clear(); void clear();
void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList);
bool containsCursor(const QPoint &mousePos) const; bool containsCursor(const QPoint &mousePos) const;
bool itemIsChildOfQmlSubComponent(QGraphicsItem *item) const; bool itemIsChildOfQmlSubComponent(QGraphicsItem *item) const;
......
...@@ -202,10 +202,6 @@ void ZoomTool::clear() ...@@ -202,10 +202,6 @@ void ZoomTool::clear()
view()->setCursor(Qt::ArrowCursor); view()->setCursor(Qt::ArrowCursor);
} }
void ZoomTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/)
{
}
void ZoomTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/) void ZoomTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/)
{ {
} }
......
...@@ -34,8 +34,6 @@ public: ...@@ -34,8 +34,6 @@ public:
void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList); void itemsAboutToRemoved(const QList<QGraphicsItem*> &itemList);
void clear(); void clear();
void graphicsObjectsChanged(const QList<QGraphicsObject*> &itemList);
protected: protected:
void selectedItemsChanged(const QList<QGraphicsItem*> &itemList); void selectedItemsChanged(const QList<QGraphicsItem*> &itemList);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment