Miam-Player  0.8.0
A nice music player
playlistmanager.h
Go to the documentation of this file.
1 #ifndef PLAYLISTMANAGER_H
2 #define PLAYLISTMANAGER_H
3 
4 #include <QObject>
6 
8 class TabPlaylist;
9 class Playlist;
10 
17 {
18  Q_OBJECT
19 private:
20  TabPlaylist *_tabPlaylists;
21 
22 public:
23  explicit PlaylistManager(TabPlaylist *parent);
24 
25 public slots:
26  bool deletePlaylist(uint playlistId);
27 
28  uint savePlaylist(Playlist *p, bool isOverwriting, bool isExiting);
29 
30  void saveAndRemovePlaylist(Playlist *p, int index, bool isOverwriting = false);
31 
32 signals:
33  void aboutToRemovePlaylist(int);
34 };
35 
36 #endif // PLAYLISTMANAGER_H
The Playlist class is used to display tracks in the MainWindow class.
Definition: playlist.h:21
The TabPlaylist class is used to manage mutiple playlists in the MainWindow class.
Definition: tabplaylist.h:20
The PlaylistManager class is used to Create/Read/Update/Delete playlists in SQLite DB...
Definition: playlistmanager.h:16
#define MIAMTABPLAYLISTS_LIBRARY
Definition: miamtabplaylists_global.hpp:8