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's class QFileOpenEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQFileOpenEvent
(QUrl url) QFileOpenEvent
(String file) protected
QFileOpenEvent
(QFileOpenEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QFileOpenEvent other) 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.toString()
final QUrl
url()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QFileOpenEvent
-
QFileOpenEvent
-
QFileOpenEvent
-
QFileOpenEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
file
-
openFile
Overloaded function for
openFile(io.qt.core.QFile, io.qt.core.QIODeviceBase.OpenMode)
. -
openFile
-
set
Deprecated.Useassign(io.qt.gui.QFileOpenEvent)
instead. -
assign
-
url
-
clone
-
toString
-
assign(io.qt.gui.QFileOpenEvent)
instead.