Commit 6c046e1c authored by Laurent Montel's avatar Laurent Montel 😁

Forward signal

parent 77b4900b
......@@ -154,6 +154,7 @@ SieveEditorWidget::SieveEditorWidget(bool useMenuBar, QWidget *parent)
connect(mTextModeWidget, &SieveEditorTextModeWidget::undoAvailable, this, &SieveEditorWidget::undoAvailable);
connect(mTextModeWidget, &SieveEditorTextModeWidget::redoAvailable, this, &SieveEditorWidget::redoAvailable);
connect(mTextModeWidget, &SieveEditorTextModeWidget::copyAvailable, this, &SieveEditorWidget::copyAvailable);
connect(mTextModeWidget, &SieveEditorTextModeWidget::sieveEditorTabCurrentChanged, this, &SieveEditorWidget::sieveEditorTabCurrentChanged);
if (KSieveUi::EditorSettings::useGraphicEditorByDefault()) {
changeMode(GraphicMode);
} else {
......
......@@ -121,6 +121,7 @@ Q_SIGNALS:
void redoAvailable(bool);
void copyAvailable(bool);
void changeModeEditor(bool);
void sieveEditorTabCurrentChanged();
private:
void changeSwitchButtonText();
void changeMode(EditorMode mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment