- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PageBreakFlags(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 Type Method Description QTextFormat.PageBreakFlags
clone()
Clones the flagsQTextFormat.PageBreakFlags
combined(QTextFormat.PageBreakFlag e)
Combines this flags with enum entry.int
compareTo(QTextFormat.PageBreakFlags other)
QTextFormat.PageBreakFlag[]
flags()
Returns an array of flag objects represented by this PageBreakFlags.QTextFormat.PageBreakFlags
setFlag(QTextFormat.PageBreakFlag e)
Sets the flage
QTextFormat.PageBreakFlags
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>
-