com.trolltech.qt.gui
Class QFileOpenEvent
java.lang.Object
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QEvent
com.trolltech.qt.gui.QFileOpenEvent
- All Implemented Interfaces:
- QtJambiInterface
public class QFileOpenEvent
- extends QEvent
The QFileOpenEvent class provides an event that will be sent when there is a request to open a file.
File open events will be sent to the QApplication::instance() when the operating system requests that a file be opened. This is a high-level event that can be caused by different user actions depending on the user's desktop environment; for example, double clicking on an file icon in the Finder on Mac OS X.
This event is only used to notify the application of a request. It may be safely ignored.
Nested classes/interfaces inherited from class com.trolltech.qt.core.QEvent |
QEvent.Type |
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I> |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QFileOpenEvent
public QFileOpenEvent(java.lang.String file)
-
file
public final java.lang.String file()
Returns the file that is being opened.
fromNativePointer
public static QFileOpenEvent fromNativePointer(QNativePointer nativePointer)
- This function returns the QFileOpenEvent instance pointed to by nativePointer
- Parameters:
nativePointer
- the QNativePointer of which object should be returned.