Miam-Player  0.8.0
A nice music player
GenericDAO Class Reference

The GenericDAO class is a simple wrapper which contains basic informations about a file. More...

#include <genericdao.h>

Inheritance diagram for GenericDAO:
AlbumDAO ArtistDAO PlaylistDAO TrackDAO YearDAO

Public Member Functions

 GenericDAO (Miam::ItemType itemType=Miam::IT_UnknownType, QObject *parent=nullptr)
 GenericDAO (const GenericDAO &remoteObject)
GenericDAOoperator= (const GenericDAO &other)
virtual ~GenericDAO ()
QString checksum () const
void setChecksum (const QString &checksum)
QString host () const
void setHost (const QString &host)
QString icon () const
void setIcon (const QString &icon)
QString id () const
void setId (const QString &id)
void setParentNode (GenericDAO *parentNode)
GenericDAOparentNode () const
QString title () const
void setTitle (const QString &title)
QString titleNormalized () const
void setTitleNormalized (const QString &titleNormalized)
Miam::ItemType type () const
virtual uint hash () const

Detailed Description

The GenericDAO class is a simple wrapper which contains basic informations about a file.

Matthieu Bachelier

Constructor & Destructor Documentation

GenericDAO::GenericDAO ( Miam::ItemType  itemType = Miam::IT_UnknownType,
QObject *  parent = nullptr 
GenericDAO::GenericDAO ( const GenericDAO remoteObject)
GenericDAO::~GenericDAO ( )

Member Function Documentation

QString GenericDAO::checksum ( ) const
uint GenericDAO::hash ( ) const

Reimplemented in TrackDAO, AlbumDAO, and ArtistDAO.

QString GenericDAO::host ( ) const
QString GenericDAO::icon ( ) const
QString GenericDAO::id ( ) const
GenericDAO & GenericDAO::operator= ( const GenericDAO other)
GenericDAO * GenericDAO::parentNode ( ) const
void GenericDAO::setChecksum ( const QString &  checksum)
void GenericDAO::setHost ( const QString &  host)
void GenericDAO::setIcon ( const QString &  icon)
void GenericDAO::setId ( const QString &  id)
void GenericDAO::setParentNode ( GenericDAO parentNode)
void GenericDAO::setTitle ( const QString &  title)
void GenericDAO::setTitleNormalized ( const QString &  titleNormalized)
QString GenericDAO::title ( ) const
QString GenericDAO::titleNormalized ( ) const
Miam::ItemType GenericDAO::type ( ) const

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