Use new connect api

wilder-work
Montel Laurent 10 years ago
parent f1f14d56eb
commit 9f41c1dc6d
  1. 2
      CMakeLists.txt
  2. 6
      src/editor/kmcomposerwin.cpp

@ -52,7 +52,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kmail_SOURCE_DIR})
set(GPGMEPP_LIB_VERSION "5.3.40")
set(KONTACTINTERFACE_LIB_VERSION "5.3.40")
set(KMIME_LIB_VERSION "5.3.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.3.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.3.41")
set(AKONADI_VERSION "5.3.40")
set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}")

@ -1136,10 +1136,10 @@ void KMComposerWin::setupActions(void)
KStandardAction::pasteText(mGlobalAction, &KMComposerGlobalAction::slotPaste, actionCollection());
mSelectAll = KStandardAction::selectAll(mGlobalAction, &KMComposerGlobalAction::slotMarkAll, actionCollection());
mFindText = KStandardAction::find(mRichTextEditorwidget, SLOT(slotFind()), actionCollection());
mFindNextText = KStandardAction::findNext(mRichTextEditorwidget, SLOT(slotFindNext()), actionCollection());
mFindText = KStandardAction::find(mRichTextEditorwidget, &KPIMTextEdit::RichTextEditorWidget::slotFind, actionCollection());
mFindNextText = KStandardAction::findNext(mRichTextEditorwidget, &KPIMTextEdit::RichTextEditorWidget::slotFindNext, actionCollection());
mReplaceText = KStandardAction::replace(mRichTextEditorwidget, SLOT(slotReplace()), actionCollection());
mReplaceText = KStandardAction::replace(mRichTextEditorwidget, &KPIMTextEdit::RichTextEditorWidget::slotReplace, actionCollection());
actionCollection()->addAction(KStandardAction::Spelling, QStringLiteral("spellcheck"),
mComposerBase->editor(), SLOT(slotCheckSpelling()));

Loading…
Cancel
Save