QwuiFileResource Class Reference
This class makes it possible to send a file to the client.
More...
#include <qwuifileresource.h>
List of all members.
Detailed Description
This class makes it possible to send a file to the client.
Constructor & Destructor Documentation
QwuiFileResource::QwuiFileResource |
( |
const QString & |
path |
) |
|
QwuiFileResource::~QwuiFileResource |
( |
|
) |
[virtual] |
Member Function Documentation
qint64 QwuiFileResource::length |
( |
|
) |
const [virtual] |
QString QwuiFileResource::mimeType |
( |
|
) |
const [virtual] |
Subclasses must provide the MIME type of the resource like "text/html" or "image/jpeg".
- Returns:
- the MIME type of the resource.
Implements QwuiAbstractResource.
void QwuiFileResource::sendToDevice |
( |
QIODevice * |
dev |
) |
const [virtual] |
The documentation for this class was generated from the following files: