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