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) SeeQFileOpenEvent::
openFile(QFile&, QIODevice::OpenMode)const 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) - Parameters:
arg__1
-
-
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QString) - Parameters:
file
-
-
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QUrl) - Parameters:
url
-
-
-
Method Details
-
file
- Returns:
-
openFile
See
QFileOpenEvent::
openFile(QFile&, QIODevice::OpenMode)const - Parameters:
file
-flags
-- Returns:
-
assign
See
QFileOpenEvent::
operator=(QFileOpenEvent) - Parameters:
other
-
-
url
- Returns:
-
clone
-
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.