MauiKit TextEditor
documenthandler.h
96 DocumentAlert(const QString &title, const QString &body, const uint &level, const int &id, QObject *parent = nullptr)
149 return std::accumulate(this->m_actions.constBegin(), this->m_actions.constEnd(), QStringList(), [](QStringList &labels, const AlertAction &action) -> QStringList {
235 * @note This is not part of any public API, and can it is only exposed as part of the TextEditor control.
250 Q_PROPERTY(int cursorPosition READ cursorPosition WRITE setCursorPosition NOTIFY cursorPositionChanged)
255 Q_PROPERTY(int selectionStart READ selectionStart WRITE setSelectionStart NOTIFY selectionStartChanged)
380 Q_PROPERTY(QColor backgroundColor READ getBackgroundColor WRITE setBackgroundColor NOTIFY backgroundColorChanged)
390 Q_PROPERTY(bool enableSyntaxHighlighting READ enableSyntaxHighlighting WRITE setEnableSyntaxHighlighting NOTIFY enableSyntaxHighlightingChanged)
400 Q_PROPERTY(bool findCaseSensitively MEMBER m_findCaseSensitively NOTIFY findCaseSensitivelyChanged)
friend bool operator==(const DocumentAlert &other, const DocumentAlert &other2)
operator ==
Definition documenthandler.h:138
void triggerAction(const int &actionIndex, const int &alertIndex)
triggerAction
Definition documenthandler.h:170
void setEnableSyntaxHighlighting(const bool &value)
setEnableSyntaxHighlighting
Definition documenthandler.cpp:1112
void setExternallyModified(const bool &value)
setExternallyModified
Definition documenthandler.cpp:346
static const QString getLanguageNameFromFileName(const QUrl &fileName)
getLanguageNameFromFileName
Definition documenthandler.cpp:809
Q_SCRIPTABLE Q_NOREPLY void start()
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
int blue() const const
int green() const const
int red() const const
const_reference at(qsizetype i) const const
QObject(QObject *parent)
Q_EMITQ_EMIT
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
typedef Alignment
DisplayRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.