- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ProcessEventsFlags(int value)
Creates a new ProcessEventsFlags with givenvalue
.ProcessEventsFlags(QEventLoop.ProcessEventsFlag... args)
Creates a new ProcessEventsFlags where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QEventLoop.ProcessEventsFlags
clone()
Clones the flagsQEventLoop.ProcessEventsFlags
combined(QEventLoop.ProcessEventsFlag e)
Combines this flags with enum entry.int
compareTo(QEventLoop.ProcessEventsFlags other)
QEventLoop.ProcessEventsFlag[]
flags()
Returns an array of flag objects represented by this ProcessEventsFlags.QEventLoop.ProcessEventsFlags
setFlag(QEventLoop.ProcessEventsFlag e)
Sets the flage
QEventLoop.ProcessEventsFlags
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>
-