9#include "ksieveui_export.h"
17class LineEditWithCompleterNg;
21class KSIEVEUI_EXPORT FindBarBase :
public QWidget
25 explicit FindBarBase(
QWidget *parent =
nullptr);
26 ~FindBarBase()
override;
28 [[nodiscard]]
QString text()
const;
29 void setText(
const QString &text);
30 void focusAndSetCursor();
34 virtual void clearSelections();
35 virtual void updateHighLight(
bool);
36 virtual void searchText(
bool backward,
bool isAutoSearch);
37 virtual void updateSensitivity(
bool);
39 void setFoundMatch(
bool match);
45 void autoSearch(
const QString &str);
46 void slotSearchText(
bool backward =
false,
bool isAutoSearch =
true);
53 void caseSensitivityChanged(
bool);
54 void slotHighlightAllChanged(
bool);
62 QAction *mCaseSensitiveAct =
nullptr;
66 QMenu *mOptionsMenu =
nullptr;
68 void addToCompletion(
const QString &text);
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
const QList< QKeySequence > & findPrev()
const QList< QKeySequence > & findNext()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.