LibEngsas
Public Member Functions | Private Attributes | List of all members
EFileInfo Class Reference

Data about a file handled by EFileService. More...

#include <efileinfo.h>

Public Member Functions

 EFileInfo ()
 
bool isValid () const
 Returns true, if this EFileInfo contains valid data. More...
 
void setId (QString id)
 
QString id () const
 A unique internal identifier. More...
 
void setName (QString name)
 
QString name () const
 A human readable identifier. More...
 
void setSize (quint64 size)
 
quint64 size ()
 The size of the file in bytes. More...
 
void setMimeType (QString mimeType)
 
QString mimeType () const
 The MimeType of the file. More...
 
bool operator== (const EFileInfo &info) const
 
bool operator== (const QString &id) const
 
bool operator!= (const EFileInfo &info) const
 
bool operator!= (const QString &id) const
 

Private Attributes

QString myId
 
QString myName
 
QString myMimeType
 
quint64 mySize
 

Detailed Description

Data about a file handled by EFileService.

Constructor & Destructor Documentation

EFileInfo::EFileInfo ( )

+ Here is the call graph for this function:

Member Function Documentation

QString EFileInfo::id ( ) const

A unique internal identifier.

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QString EFileInfo::mimeType ( ) const

The MimeType of the file.

+ Here is the caller graph for this function:

QString EFileInfo::name ( ) const

A human readable identifier.

May be the same as the identifier, but can also be different.

+ Here is the caller graph for this function:

bool EFileInfo::operator!= ( const EFileInfo info) const

+ Here is the call graph for this function:

bool EFileInfo::operator!= ( const QString &  id) const

+ Here is the call graph for this function:

bool EFileInfo::operator== ( const EFileInfo info) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool EFileInfo::operator== ( const QString &  id) const
void EFileInfo::setId ( QString  id)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EFileInfo::setMimeType ( QString  mimeType)

+ Here is the call graph for this function:

void EFileInfo::setName ( QString  name)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EFileInfo::setSize ( quint64  size)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

quint64 EFileInfo::size ( )

The size of the file in bytes.

+ Here is the caller graph for this function:

Member Data Documentation

QString EFileInfo::myId
private
QString EFileInfo::myMimeType
private
QString EFileInfo::myName
private
quint64 EFileInfo::mySize
private

The documentation for this class was generated from the following files: