QwuiMessageResource Class Reference
A simple resource that wraps a message. Use this to wrap a static string as a resource.
More...
#include <qwuimessageresource.h>
List of all members.
Detailed Description
A simple resource that wraps a message. Use this to wrap a static string as a resource.
Constructor & Destructor Documentation
QwuiMessageResource::QwuiMessageResource |
( |
const QString & |
path = QString::null |
) |
|
QwuiMessageResource::~QwuiMessageResource |
( |
|
) |
[virtual] |
Member Function Documentation
qint64 QwuiMessageResource::length |
( |
|
) |
const [virtual] |
QString QwuiMessageResource::message |
( |
|
) |
const |
QString QwuiMessageResource::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 QwuiMessageResource::sendToDevice |
( |
QIODevice * |
dev |
) |
const [virtual] |
void QwuiMessageResource::setMessage |
( |
const QString & |
message |
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: