QFileOpenEvent Class Reference

#include <qevent.h>

Inheritance diagram for QFileOpenEvent:

Inheritance graph
[legend]
Collaboration diagram for QFileOpenEvent:

Collaboration graph
[legend]
List of all members.

Detailed Description

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.

Definition at line 602 of file qevent.h.

Public Member Functions

 QFileOpenEvent (const QString &file)
 ~QFileOpenEvent ()
QString file () const

Private Attributes

QString f


Constructor & Destructor Documentation

QFileOpenEvent::QFileOpenEvent ( const QString file  ) 

Definition at line 2863 of file qevent.cpp.

02864     : QEvent(FileOpen), f(file)
02865 {}

QFileOpenEvent::~QFileOpenEvent (  ) 

Definition at line 2869 of file qevent.cpp.

02870 {
02871 }


Member Function Documentation

QString QFileOpenEvent::file (  )  const [inline]

Returns the file that is being opened.

Definition at line 608 of file qevent.h.

00608 { return f; }


Member Data Documentation

QString QFileOpenEvent::f [private]

Definition at line 610 of file qevent.h.


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 17:34:40 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1