- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QTextDocument.MarkdownFeatures>
- Enclosing class:
QTextDocument
public static final class QTextDocument.MarkdownFeatures
extends QFlags<QTextDocument.MarkdownFeature>
implements Comparable<QTextDocument.MarkdownFeatures>
QFlags
type for enum QTextDocument.MarkdownFeature
- See Also:
-
Constructor Summary
ConstructorDescriptionMarkdownFeatures
(int value) Creates a new MarkdownFeatures with givenvalue
.Creates a new MarkdownFeatures where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QTextDocument.MarkdownFeature []
flags()
Returns an array of flag objects represented by this MarkdownFeatures.Sets the flage
setFlag
(QTextDocument.MarkdownFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
MarkdownFeatures
Creates a new MarkdownFeatures where the flags inargs
are set.- Parameters:
args
- enum entries
-
MarkdownFeatures
public MarkdownFeatures(int value) Creates a new MarkdownFeatures with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QTextDocument.MarkdownFeature>
- Parameters:
e
- enum entry- Returns:
- new MarkdownFeatures
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QTextDocument.MarkdownFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QTextDocument.MarkdownFeature>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this MarkdownFeatures.- Overrides:
flags
in classQFlags<QTextDocument.MarkdownFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QTextDocument.MarkdownFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QTextDocument.MarkdownFeatures>
-