com.trolltech.qt.gui
Class QFileOpenEvent

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.core.QEvent
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.core.QEvent
QEvent.Type
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9
 
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 com.trolltech.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, setAccepted, setT, spontaneous, t, type
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Method Detail

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