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:
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;
......
......@@ -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*/)
{
}
......
......@@ -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);
......
......@@ -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());
......
......@@ -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);
......
......@@ -126,11 +126,6 @@ void SubcomponentEditorTool::clear()
emit cleared();
}
void SubcomponentEditorTool::graphicsObjectsChanged(const QList<QGraphicsObject*> &/*itemList*/)
{
}
void SubcomponentEditorTool::selectedItemsChanged(const QList<QGraphicsItem*> &/*itemList*/)
{
......
......@@ -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;
......
......@@ -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*/)
{
}
......
......@@ -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);
......
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