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