From 08d655c2bc107449ee322f8b826710b7e690950b Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Sun, 31 Jul 2011 13:33:56 +0200 Subject: normalize signals/slots --- src/panels/folders/folderspanel.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/panels/folders/folderspanel.cpp') diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index fe0f0b134..340e79d30 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -148,8 +148,8 @@ void FoldersPanel::showEvent(QShowEvent* event) m_dolphinModel = new DolphinModel(this); m_dolphinModel->setDirLister(m_dirLister); m_dolphinModel->setDropsAllowed(DolphinModel::DropOnDirectory); - connect(m_dolphinModel, SIGNAL(expand(const QModelIndex&)), - this, SLOT(expandToDir(const QModelIndex&))); + connect(m_dolphinModel, SIGNAL(expand(QModelIndex)), + this, SLOT(expandToDir(QModelIndex))); Q_ASSERT(!m_proxyModel); m_proxyModel = new DolphinSortFilterProxyModel(this); @@ -164,11 +164,11 @@ void FoldersPanel::showEvent(QShowEvent* event) new FolderExpander(m_treeView, m_proxyModel); - connect(m_treeView, SIGNAL(clicked(const QModelIndex&)), - this, SLOT(updateActiveView(const QModelIndex&))); - connect(m_treeView, SIGNAL(urlsDropped(const QModelIndex&, QDropEvent*)), - this, SLOT(dropUrls(const QModelIndex&, QDropEvent*))); - connect(m_treeView, SIGNAL(pressed(const QModelIndex&)), + connect(m_treeView, SIGNAL(clicked(QModelIndex)), + this, SLOT(updateActiveView(QModelIndex))); + connect(m_treeView, SIGNAL(urlsDropped(QModelIndex,QDropEvent*)), + this, SLOT(dropUrls(QModelIndex,QDropEvent*))); + connect(m_treeView, SIGNAL(pressed(QModelIndex)), this, SLOT(updateMouseButtons())); connect(m_treeView->horizontalScrollBar(), SIGNAL(sliderMoved(int)), -- cgit v1.3