java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QFileOpenEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
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
ConstructorDescriptionQFileOpenEvent
(QUrl url) SeeQFileOpenEvent::
QFileOpenEvent(QUrl) QFileOpenEvent
(QFileOpenEvent other) SeeQFileOpenEvent::
QFileOpenEvent(QFileOpenEvent) QFileOpenEvent
(String file) SeeQFileOpenEvent::
QFileOpenEvent(QString) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final String
file()
final boolean
openFile
(QFile file, QIODevice.OpenMode flags) final boolean
openFile
(QFile file, QIODevice.OpenModeFlag ... flags) Overloaded function foropenFile(io.qt.core.QFile, io.qt.core.QIODevice.OpenMode)
.final QUrl
url()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, 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:
other
-
-
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QString) - Parameters:
file
-
-
QFileOpenEvent
See
QFileOpenEvent::
QFileOpenEvent(QUrl) - Parameters:
url
-
-
-
Method Details
-
file
- Returns:
-
openFile
- Parameters:
file
-flags
-- Returns:
- Since:
- This function was introduced in Qt 4.8.
-
url
- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
clone
Creates and returns a copy of this object.
See
QFileOpenEvent::
QFileOpenEvent(QFileOpenEvent) -
openFile
Overloaded function for
openFile(io.qt.core.QFile, io.qt.core.QIODevice.OpenMode)
.
-