Miam-Player  0.8.0
A nice music player
playlistdao.h
Go to the documentation of this file.
1 #ifndef PLAYLISTDAO_H
2 #define PLAYLISTDAO_H
3 
4 #include "genericdao.h"
5 #include <QIcon>
6 
13 {
14  Q_OBJECT
15 private:
16  QString _background, _length;
17 
18 public:
19  explicit PlaylistDAO(QObject *parent = nullptr);
20 
21  PlaylistDAO(const PlaylistDAO &other);
22 
23  PlaylistDAO& operator=(const PlaylistDAO& other);
24 
25  virtual ~PlaylistDAO();
26 
27  QString background() const;
28  void setBackground(const QString &background);
29 
30  QString length() const;
31  void setLength(const QString &length);
32 };
33 
35 Q_DECLARE_METATYPE(PlaylistDAO)
36 
37 #endif // PLAYLISTDAO_H
The GenericDAO class is a simple wrapper which contains basic informations about a file...
Definition: genericdao.h:12
The PlaylistDAO class is a simple wrapper which contains basic informations about a playlist...
Definition: playlistdao.h:12
GenericDAO & operator=(const GenericDAO &other)
Definition: genericdao.cpp:21
#define MIAMCORE_LIBRARY
Definition: miamcore_global.h:11