java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QFileOpenEvent
- All Implemented Interfaces:
QtObjectInterface
Event that will be sent when there is a request to open a file or a URL
Java wrapper for Qt class QFileOpenEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQFileOpenEvent
(QUrl url) SeeQFileOpenEvent::
QFileOpenEvent(QUrl) protected
QFileOpenEvent
(QFileOpenEvent arg__1) SeeQFileOpenEvent::
QFileOpenEvent(QFileOpenEvent) QFileOpenEvent
(String file) SeeQFileOpenEvent::
QFileOpenEvent(QString) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QFileOpenEvent other) SeeQFileOpenEvent::
operator=(QFileOpenEvent) clone()
final String
file()
final boolean
openFile
(QFile file, QIODeviceBase.OpenMode flags) final boolean
openFile
(QFile file, QIODeviceBase.OpenModeFlag ... flags) Overloaded function foropenFile(io.qt.core.QFile, io.qt.core.QIODeviceBase.OpenMode)
.protected final void
set
(QFileOpenEvent other) Deprecated.final QUrl
url()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QFileOpenEvent) -
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QString) -
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QUrl)
-
-
Method Details
-
file
-
openFile
-
assign
See
QFileOpenEvent::
operator=(QFileOpenEvent) -
url
-
clone
This function was introduced in Qt 6.0.
-
openFile
Overloaded function for
openFile(io.qt.core.QFile, io.qt.core.QIODeviceBase.OpenMode)
. -
set
Deprecated.Useassign(io.qt.gui.QFileOpenEvent)
instead.
-
assign(io.qt.gui.QFileOpenEvent)
instead.