7#ifndef KATEVI_EMULATED_COMMAND_BAR_INTERACTIVESEDREPLACEMODE_H
8#define KATEVI_EMULATED_COMMAND_BAR_INTERACTIVESEDREPLACEMODE_H
10#include "activemode.h"
19class EmulatedCommandBar;
20class MatchHighlighter;
22class InteractiveSedReplaceMode :
public ActiveMode
25 InteractiveSedReplaceMode(EmulatedCommandBar *emulatedCommandBar,
26 MatchHighlighter *matchHighlighter,
27 InputModeManager *viInputModeManager,
28 KTextEditor::ViewPrivate *view);
29 ~InteractiveSedReplaceMode()
override
32 void activate(std::shared_ptr<SedReplace::InteractiveSedReplacer> interactiveSedReplace);
37 bool handleKeyPress(
const QKeyEvent *keyEvent)
override;
38 void deactivate(
bool wasAborted)
override;
42 void updateInteractiveSedReplaceLabelText();
43 void finishInteractiveSedReplace();
44 std::shared_ptr<SedReplace::InteractiveSedReplacer> m_interactiveSedReplacer;
46 QLabel *m_interactiveSedReplaceLabel;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.