java.lang.Object
io.qt.QtObject
io.qt.core.QNativeIpcKey
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a native key used by QSystemSemaphore and QSharedMemory
Java wrapper for Qt class QNativeIpcKey
- Since:
- This class was introduced in Qt 6.6.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QNativeIpcKey.Type
static final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQNativeIpcKey
(QNativeIpcKey other) Overloaded constructor forQNativeIpcKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.DefaultTypeForOs
.QNativeIpcKey
(String k, QNativeIpcKey.Type type) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNativeIpcKey other) clone()
Creates and returns a copy of this object.final boolean
equals
(QNativeIpcKey rhs) boolean
static QNativeIpcKey
fromString
(String string) int
hashCode()
Returns the objects's hash code computed byqHash(QNativeIpcKey)
.final boolean
isEmpty()
final boolean
isValid()
static QNativeIpcKey.Type
final String
final void
setNativeKey
(String newKey) final void
setType
(QNativeIpcKey.Type type) final void
swap
(QNativeIpcKey other) final String
toString()
final QNativeIpcKey.Type
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
DefaultTypeForOs
-
-
Constructor Details
-
QNativeIpcKey
public QNativeIpcKey() -
QNativeIpcKey
- Parameters:
other
-
-
QNativeIpcKey
- Parameters:
type
-
-
QNativeIpcKey
- Parameters:
k
-type
-
-
QNativeIpcKey
Overloaded constructor for
QNativeIpcKey(java.lang.String, io.qt.core.QNativeIpcKey.Type)
withtype = io.qt.core.QNativeIpcKey.DefaultTypeForOs
.
-
-
Method Details
-
isEmpty
- Returns:
-
isValid
- Returns:
-
nativeKey
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
setNativeKey
- Parameters:
newKey
-
-
setType
- Parameters:
type
-
-
swap
- Parameters:
other
-
-
toString
-
type
- Returns:
-
fromString
- Parameters:
string
-- Returns:
-
legacyDefaultTypeForOs
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNativeIpcKey)
. -
clone
Creates and returns a copy of this object.
-