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