Data about a file handled by EFileService.
More...
#include <efileinfo.h>
Detailed Description
Data about a file handled by EFileService.
Constructor & Destructor Documentation
Member Function Documentation
QString EFileInfo::id |
( |
| ) |
const |
A unique internal identifier.
bool EFileInfo::isValid |
( |
| ) |
const |
Returns true, if this EFileInfo contains valid data.
The data is valid, if the id() and the name() is not empty.
QString EFileInfo::mimeType |
( |
| ) |
const |
The MimeType of the file.
QString EFileInfo::name |
( |
| ) |
const |
A human readable identifier.
May be the same as the identifier, but can also be different.
bool EFileInfo::operator!= |
( |
const EFileInfo & |
info | ) |
const |
bool EFileInfo::operator!= |
( |
const QString & |
id | ) |
const |
bool EFileInfo::operator== |
( |
const EFileInfo & |
info | ) |
const |
bool EFileInfo::operator== |
( |
const QString & |
id | ) |
const |
void EFileInfo::setId |
( |
QString |
id | ) |
|
void EFileInfo::setMimeType |
( |
QString |
mimeType | ) |
|
void EFileInfo::setName |
( |
QString |
name | ) |
|
void EFileInfo::setSize |
( |
quint64 |
size | ) |
|
quint64 EFileInfo::size |
( |
| ) |
|
The size of the file in bytes.
Member Data Documentation
QString EFileInfo::myMimeType |
|
private |
QString EFileInfo::myName |
|
private |
quint64 EFileInfo::mySize |
|
private |
The documentation for this class was generated from the following files: