Sayonara Player
Loading...
Searching...
No Matches
SoundcloudViews.h
1/* SoundcloudViews.h */
2
3/* Copyright (C) 2011-2024 Michael Lugmair (Lucio Carreras)
4 *
5 * This file is part of sayonara player
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21
22#ifndef SOUNDCLOUDVIEWS_H
23#define SOUNDCLOUDVIEWS_H
24
25#include "Gui/Library/TableView/TrackView.h"
26#include "Gui/Library/TableView/AlbumView.h"
27#include "Gui/Library/TableView/ArtistView.h"
28
29namespace SC
30{
31 class TrackView :
33 {
34 Q_OBJECT
35 public:
36 using ::Library::TrackView::TrackView;
37 ::Library::ContextMenu::Entries contextMenuEntries() const override;
38
39 protected:
40 bool isMergeable() const override;
41 };
42
43 class AlbumView :
45 {
46 Q_OBJECT
47 public:
48 using ::Library::AlbumView::AlbumView;
49 ::Library::ContextMenu::Entries contextMenuEntries() const override;
50
51 protected:
52 bool isMergeable() const override;
53 };
54
55 class ArtistView :
57 {
58 Q_OBJECT
59 signals:
60 void sigAddArtistTriggered();
61
62 public:
63 using ::Library::ArtistView::ArtistView;
64 ::Library::ContextMenu::Entries contextMenuEntries() const override;
65
66 // ItemView interface
67 protected:
68 void initContextMenu() override;
69 bool isMergeable() const override;
70 };
71}
72
73#endif // SOUNDCLOUDVIEWS_H
Definition AlbumView.h:36
Definition ArtistView.h:34
Definition TrackView.h:33