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