summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-19 05:13:12 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-19 05:13:12 (GMT)
commit223808ce7ced8d9f9805c90bfd76c7d0d7934f9b (patch)
tree9502c5318aabbc4289dbe1f4f83353708bce6a9b
parent8f1d9f8d4108943d0c3403fab373685ab3e602ba (diff)
use new connect api
-rw-r--r--src/ksieveui/editor/sieveeditormenubar.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ksieveui/editor/sieveeditormenubar.cpp b/src/ksieveui/editor/sieveeditormenubar.cpp
index 936a5f4..9fe1ddf 100644
--- a/src/ksieveui/editor/sieveeditormenubar.cpp
+++ b/src/ksieveui/editor/sieveeditormenubar.cpp
@@ -78,18 +78,18 @@ void SieveEditorMenuBar::initActions()
mDebugSieveAction->setShortcut(QKeySequence(Qt::ALT + Qt::Key_D));
connect(mDebugSieveAction, &QAction::triggered, this, &SieveEditorMenuBar::debugSieveScript);
- mFindAction = KStandardAction::find(this, SIGNAL(find()), this);
- mReplaceAction = KStandardAction::replace(this, SIGNAL(replace()), this);
- mUndoAction = KStandardAction::undo(this, SIGNAL(undo()), this);
- mRedoAction = KStandardAction::redo(this, SIGNAL(redo()), this);
- mCopyAction = KStandardAction::copy(this, SIGNAL(copy()), this);
- mPasteAction = KStandardAction::paste(this, SIGNAL(paste()), this);
- mCutAction = KStandardAction::cut(this, SIGNAL(cut()), this);
- mSelectAllAction = KStandardAction::selectAll(this, SIGNAL(selectAll()), this);
- mZoomInAction = KStandardAction::zoomIn(this, SIGNAL(zoomIn()), this);
- mZoomOutAction = KStandardAction::zoomOut(this, SIGNAL(zoomOut()), this);
- mPrintAction = KStandardAction::print(this, SIGNAL(print()), this);
- mPrintPreviewAction = KStandardAction::printPreview(this, SIGNAL(printPreview()), this);
+ mFindAction = KStandardAction::find(this, &SieveEditorMenuBar::find, this);
+ mReplaceAction = KStandardAction::replace(this, &SieveEditorMenuBar::replace, this);
+ mUndoAction = KStandardAction::undo(this, &SieveEditorMenuBar::undo, this);
+ mRedoAction = KStandardAction::redo(this, &SieveEditorMenuBar::redo, this);
+ mCopyAction = KStandardAction::copy(this, &SieveEditorMenuBar::copy, this);
+ mPasteAction = KStandardAction::paste(this, &SieveEditorMenuBar::paste, this);
+ mCutAction = KStandardAction::cut(this, &SieveEditorMenuBar::cut, this);
+ mSelectAllAction = KStandardAction::selectAll(this, &SieveEditorMenuBar::selectAll, this);
+ mZoomInAction = KStandardAction::zoomIn(this, &SieveEditorMenuBar::zoomIn, this);
+ mZoomOutAction = KStandardAction::zoomOut(this, &SieveEditorMenuBar::zoomOut, this);
+ mPrintAction = KStandardAction::print(this, &SieveEditorMenuBar::print, this);
+ mPrintPreviewAction = KStandardAction::printPreview(this, &SieveEditorMenuBar::printPreview, this);
mZoomResetAction = new QAction(i18nc("Reset the zoom", "Reset"), this);