diff options
author | mread <qt-info@nokia.com> | 2010-11-05 13:23:38 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2011-02-10 12:26:26 (GMT) |
commit | 776a9aeaa8006e789d3f956250876867c350a209 (patch) | |
tree | 6bca826ae8bc13215253538ad0920fc9952e4683 /src/gui/kernel/qevent.h | |
parent | edcaa583aa9232f48c92d7c78a7b3e6c71212bc1 (diff) | |
download | Qt-776a9aeaa8006e789d3f956250876867c350a209.zip Qt-776a9aeaa8006e789d3f956250876867c350a209.tar.gz Qt-776a9aeaa8006e789d3f956250876867c350a209.tar.bz2 |
Added a file handle to QFileOpenEvent on Symbian
QFileOpenEvent needs to tell the recipient what file to open. Normally
that is by filename. But on Symbian, some files can only be opened from
an already-open file handle that has been passed in. For example data
caged files in c:\private or z:\sys. So QFileOpenEvent needs to be
able to hold a Symbian file handle so that the recipient can access
any file requested of it.
Coming soon... a method by which the reciever can access the file
without knowing about all this messy file handle stuff going on behind
the scenes.
Task-number: QTBUG-15015
Reviewed-by: Shane Kearns
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index a7b06f4..2f5c486 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -55,6 +55,10 @@ #include <QtCore/qmap.h> #include <QtCore/qset.h> +#ifdef Q_OS_SYMBIAN +class RFile; +#endif + QT_BEGIN_HEADER QT_BEGIN_NAMESPACE @@ -641,6 +645,9 @@ class Q_GUI_EXPORT QFileOpenEvent : public QEvent public: QFileOpenEvent(const QString &file); QFileOpenEvent(const QUrl &url); +#ifdef Q_OS_SYMBIAN + QFileOpenEvent(const RFile &fileHandle); +#endif ~QFileOpenEvent(); inline QString file() const { return f; } |