Mercurial > hg > svcore
diff data/fileio/FileSource.h @ 713:b5daf8fc05ba library_integration
Merge from the default branch
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Mon, 10 Oct 2011 17:27:54 +0100 |
parents | 579b2da21e7a |
children | 3b2409646cc0 |
line wrap: on
line diff
--- a/data/fileio/FileSource.h Mon Oct 10 17:27:08 2011 +0100 +++ b/data/fileio/FileSource.h Mon Oct 10 17:27:54 2011 +0100 @@ -124,6 +124,11 @@ bool isDone() const; /** + * Return true if this FileSource is referring to a QRC resource. + */ + bool isResource() const; + + /** * Return true if this FileSource is referring to a remote URL. */ bool isRemote() const; @@ -225,6 +230,7 @@ QString m_preferredContentType; bool m_ok; int m_lastStatus; + bool m_resource; bool m_remote; bool m_done; bool m_leaveLocalFile;