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 |
Method Summary |
java.lang.String |
file()
Returns the file that is being opened. |
static QFileOpenEvent |
fromNativePointer(QNativePointer nativePointer)
This method returns the QFileOpenEvent instance pointed to by nativePointer. |
java.lang.String |
toString()
Returns a string representation of the this QFileOpenEvent. |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
file
public final java.lang.String file()
- Returns the file that is being opened.
fromNativePointer
public static QFileOpenEvent fromNativePointer(QNativePointer nativePointer)
- This method returns the QFileOpenEvent instance pointed to by nativePointer.
toString
public java.lang.String toString()
- Returns a string representation of the this QFileOpenEvent.
- Overrides:
toString
in class QEvent