QmlDesigner: cleanup unused methods

- remove javascript methods: scrollView(delta), resetView()
 - remove javascript related signals
 - remove visibleCount debug output

Change-Id: I63b0a204d7f570986e41fc9fb3762f13e5d63d79
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Tim Jenssen
2014-06-12 16:18:40 +02:00
committed by Marco Bubke
parent a850dc2033
commit 115620aabc
4 changed files with 0 additions and 21 deletions

View File

@@ -225,7 +225,6 @@ void ItemLibraryWidget::setSearchFilter(const QString &searchFilter)
{
if (m_stackedWidget->currentIndex() == 0) {
m_itemLibraryModel->setSearchText(searchFilter);
emit resetItemsView();
m_itemsView->update();
} else {
QStringList nameFilterList;
@@ -303,9 +302,6 @@ void ItemLibraryWidget::reloadQmlSource()
QQuickItem *rootItem = qobject_cast<QQuickItem*>(m_itemsView->rootObject());
connect(rootItem, SIGNAL(itemSelected(int)), this, SLOT(showItemInfo(int)));
connect(rootItem, SIGNAL(itemDragged(int)), this, SLOT(startDragAndDropDelayed(int)));
connect(this, SIGNAL(scrollItemsView(QVariant)), rootItem, SLOT(scrollView(QVariant)));
connect(this, SIGNAL(resetItemsView()), rootItem, SLOT(resetView()));
}
void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag)