Miam-Player  0.8.0
A nice music player
closeplaylistpopup.h
Go to the documentation of this file.
1 #ifndef CLOSEPLAYLISTPOPUP_H
2 #define CLOSEPLAYLISTPOPUP_H
3 
4 #include <QDialog>
5 
8 
10 class Playlist;
11 
22 {
23  Q_OBJECT
24 private:
25  Playlist *_playlist;
26  int _index;
27 
28  QPushButton *_deleteButton, *_replaceButton;
29 
30 public:
31  explicit ClosePlaylistPopup(Playlist *playlist, int index, QWidget *parent = nullptr);
32 
33 private slots:
34  void execActionFromClosePopup(QAbstractButton *action);
35 
36 signals:
37  void aboutToCancel();
38  void aboutToRemoveTab(int index);
39  void aboutToSavePlaylist(bool overwrite);
40  void aboutToDeletePlaylist(uint playlistId);
41 };
42 
43 #endif // CLOSEPLAYLISTPOPUP_H
unsigned int uint
Definition: taglib.h:68
Definition: ui_closeplaylistpopup.h:92
The Playlist class is used to display tracks in the MainWindow class.
Definition: playlist.h:21
The ClosePlaylistPopup class is a small modal dialog.
Definition: closeplaylistpopup.h:21
#define MIAMTABPLAYLISTS_LIBRARY
Definition: miamtabplaylists_global.hpp:8