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