Sayonara Player
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Gui
Soundcloud
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
29
namespace
SC
30
{
31
class
TrackView :
32
public
::Library::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 :
44
public
::Library::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 :
56
public
::Library::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
Library::AlbumView
Definition
AlbumView.h:36
Library::ArtistView
Definition
ArtistView.h:34
Library::TrackView
Definition
TrackView.h:33
Generated on
for Sayonara Player by
1.17.0