diff options
| author | Montel Laurent <[email protected]> | 2011-07-31 13:33:56 +0200 |
|---|---|---|
| committer | Montel Laurent <[email protected]> | 2011-07-31 13:33:56 +0200 |
| commit | 08d655c2bc107449ee322f8b826710b7e690950b (patch) | |
| tree | 6268fe56b9d4bb7fdad68841836c3265fb178284 /src/views/dolphinviewactionhandler.cpp | |
| parent | f23e9496f303995557b744c03178f5dbd9b35016 (diff) | |
normalize signals/slots
Diffstat (limited to 'src/views/dolphinviewactionhandler.cpp')
| -rw-r--r-- | src/views/dolphinviewactionhandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index 87e828dfa..fbace9cd1 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -57,7 +57,7 @@ void DolphinViewActionHandler::setCurrentView(DolphinView* view) m_currentView = view; - connect(view, SIGNAL(modeChanged(DolphinView::Mode, DolphinView::Mode)), + connect(view, SIGNAL(modeChanged(DolphinView::Mode,DolphinView::Mode)), this, SLOT(updateViewActions())); connect(view, SIGNAL(previewsShownChanged(bool)), this, SLOT(slotPreviewsShownChanged(bool))); @@ -75,8 +75,8 @@ void DolphinViewActionHandler::setCurrentView(DolphinView* view) this, SLOT(slotHiddenFilesShownChanged(bool))); connect(view, SIGNAL(sortingChanged(DolphinView::Sorting)), this, SLOT(slotSortingChanged(DolphinView::Sorting))); - connect(view, SIGNAL(zoomLevelChanged(int, int)), - this, SLOT(slotZoomLevelChanged(int, int))); + connect(view, SIGNAL(zoomLevelChanged(int,int)), + this, SLOT(slotZoomLevelChanged(int,int))); } DolphinView* DolphinViewActionHandler::currentView() @@ -106,8 +106,8 @@ void DolphinViewActionHandler::createActions() moveToTrash->setText(i18nc("@action:inmenu File", "Move to Trash")); moveToTrash->setIcon(KIcon("user-trash")); moveToTrash->setShortcut(QKeySequence::Delete); - connect(moveToTrash, SIGNAL(triggered(Qt::MouseButtons, Qt::KeyboardModifiers)), - this, SLOT(slotTrashActivated(Qt::MouseButtons, Qt::KeyboardModifiers))); + connect(moveToTrash, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), + this, SLOT(slotTrashActivated(Qt::MouseButtons,Qt::KeyboardModifiers))); KAction* deleteAction = m_actionCollection->addAction("delete"); deleteAction->setIcon(KIcon("edit-delete")); |
