8#include "ksieveui_export.h"
9#include <TextCustomEditor/PlainTextEditor>
15class SieveTextEditPrivate;
29 [[nodiscard]]
int lineNumberAreaWidth()
const;
31 void setSieveCapabilities(
const QStringList &capabilities);
33 void setShowHelpMenu(
bool b);
41 void setWordWrap(
bool state);
42 [[nodiscard]]
bool isWordWrap()
const;
46 void keyPressEvent(
QKeyEvent *e)
override;
48 void addExtraMenuEntry(
QMenu *menu,
QPoint pos)
override;
49 bool event(
QEvent *ev)
override;
52 void updateHighLighter()
override;
53 void clearDecorator()
override;
54 void createHighlighter()
override;
56 void openHelp(
const QUrl &url);
57 void editRule(
const QString &selectedText);
61 KSIEVEUI_NO_EXPORT
void slotUpdateLineNumberAreaWidth(
int newBlockCount);
62 KSIEVEUI_NO_EXPORT
void slotUpdateLineNumberArea(
const QRect &,
int);
63 KSIEVEUI_NO_EXPORT
void slotHelp();
64 KSIEVEUI_NO_EXPORT
void slotEditRule();
65 [[nodiscard]] KSIEVEUI_NO_EXPORT
bool openVariableHelp();
66 KSIEVEUI_NO_EXPORT
bool overrideShortcut(
QKeyEvent *event);
67 [[nodiscard]] KSIEVEUI_NO_EXPORT
QStringList completerList()
const;
68 KSIEVEUI_NO_EXPORT
void setCompleterList(
const QStringList &list);
71 std::unique_ptr<SieveTextEditPrivate>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:40 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.