KSyntaxHighlighting
8 #ifndef KSYNTAXHIGHLIGHTING_DEFINITION_H
9 #define KSYNTAXHIGHLIGHTING_DEFINITION_H
11 #include "ksyntaxhighlighting_export.h"
16 #include <qobjectdefs.h>
89 Q_PROPERTY(
QString name READ name)
90 Q_PROPERTY(
QString translatedName READ translatedName)
91 Q_PROPERTY(
QString section READ section)
92 Q_PROPERTY(
QString translatedSection READ translatedSection)
93 Q_PROPERTY(
QString author READ author)
94 Q_PROPERTY(
QString license READ license)
140 bool operator==(
const Definition &other)
const;
145 bool operator!=(
const Definition &other)
const;
156 bool isValid()
const;
172 QString translatedName()
const;
183 QString translatedSection()
const;
205 int priority()
const;
211 bool isHidden()
const;
262 bool isWordDelimiter(
QChar c)
const;
292 bool isWordWrapDelimiter(
QChar c)
const;
301 bool foldingEnabled()
const;
311 bool indentationBasedFoldingEnabled()
const;
380 QString singleLineCommentMarker()
const;
410 friend class DefinitionData;
411 friend class DefinitionRef;
412 KSYNTAXHIGHLIGHTING_NO_EXPORT
explicit Definition(std::shared_ptr<DefinitionData> &&dd);
413 std::shared_ptr<DefinitionData> d;
@ StartOfLine
The comment marker is inserted at the beginning of a line at column 0.
CommentPosition
Defines the insert position when commenting code.
@ AfterWhitespace
The comment marker is inserted after leading whitespaces right befire the first non-whitespace charac...
Represents a syntax definition.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:09:17 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.