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