java.lang.Object
io.qt.QtObject
io.qt.webengine.core.QWebEnginePermission
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
A QWebEnginePermission is an object used to access and modify the state of a single permission that's been granted or denied to a specific origin URL
Java wrapper for Qt class QWebEnginePermission
- Since:
- This class was introduced in Qt 6.8.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQWebEnginePermission::PermissionType
static enum
Java wrapper for Qt enumQWebEnginePermission::State
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionSeeQWebEnginePermission::
QWebEnginePermission() SeeQWebEnginePermission::
QWebEnginePermission(QWebEnginePermission) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QWebEnginePermission other) SeeQWebEnginePermission::
operator=(QWebEnginePermission) clone()
Creates and returns a copy of this object.final void
deny()
final boolean
Seeoperator==(QWebEnginePermission,
QWebEnginePermission) boolean
Seeoperator==(QWebEnginePermission,
QWebEnginePermission) final void
grant()
int
hashCode()
Returns the objects's hash code computed byqHash(QWebEnginePermission)
.static boolean
isPersistent
(QWebEnginePermission.PermissionType permissionType) final boolean
isValid()
final QUrl
origin()
final void
reset()
state()
final void
swap
(QWebEnginePermission other) SeeQWebEnginePermission::
swap(QWebEnginePermission&) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QWebEnginePermission
public QWebEnginePermission()See
QWebEnginePermission::
QWebEnginePermission() -
QWebEnginePermission
See
QWebEnginePermission::
QWebEnginePermission(QWebEnginePermission) - Parameters:
other
-
-
-
Method Details
-
deny
public final void deny() -
grant
public final void grant() -
isValid
- Returns:
-
assign
See
QWebEnginePermission::
operator=(QWebEnginePermission) - Parameters:
other
-
-
equals
See
operator==(QWebEnginePermission,
QWebEnginePermission) - Parameters:
rhs
-- Returns:
-
origin
- Returns:
-
permissionType
- Returns:
-
reset
public final void reset() -
state
- Returns:
-
swap
See
QWebEnginePermission::
swap(QWebEnginePermission&) - Parameters:
other
-
-
isPersistent
- Parameters:
permissionType
-- Returns:
-
equals
See
operator==(QWebEnginePermission,
QWebEnginePermission) -
hashCode
Returns the objects's hash code computed byqHash(QWebEnginePermission)
. -
clone
Creates and returns a copy of this object.
See
QWebEnginePermission::
QWebEnginePermission(QWebEnginePermission)
-