Sayonara Player
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Gui
Soundcloud
GUI_SoundcloudLibrary.h
1
/* GUI_SoundCloudLibrary.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
#ifndef GUI_SOUNDCLOUDLIBRARY_H
22
#define GUI_SOUNDCLOUDLIBRARY_H
23
24
#include "Gui/Library/GUI_AbstractLibrary.h"
25
#include "Utils/Pimpl.h"
26
27
class
QFrame;
28
29
UI_FWD(GUI_SoundcloudLibrary)
30
31
namespace
SC
32
{
33
class
Library
;
34
class
GUI_ArtistSearch
;
35
36
class
GUI_Library :
37
public
::Library::GUI_AbstractLibrary
38
{
39
Q_OBJECT
40
PIMPL(GUI_Library)
41
UI_CLASS_SHARED_PTR(GUI_SoundcloudLibrary)
42
43
public
:
44
explicit
GUI_Library(
SC::Library
* library, QWidget* parent =
nullptr
);
45
~GUI_Library()
override
;
46
47
QMenu* getMenu()
const
;
48
QFrame* headerFrame()
const
;
49
50
QList<::Library::Filter::Mode>
searchOptions()
const override
;
51
52
private
slots:
53
void
btnAddClicked();
54
55
protected
:
56
void
languageChanged()
override
;
57
58
::Library::TrackDeletionMode showDeleteDialog(
int
n_tracks)
override
;
59
60
::Library::TableView
* lvArtist()
const override
;
61
::Library::TableView
* lvAlbum()
const override
;
62
::Library::TableView
* lvTracks()
const override
;
63
QList<QAbstractItemView*>
allViews()
const override
;
64
65
::Library::SearchBar
* leSearch()
const override
;
66
67
void
showEvent(QShowEvent* e)
override
;
68
};
69
}
70
#endif
// GUI_SOUNDCLOUDLIBRARY_H
Library::GUI_AbstractLibrary
Definition
GUI_AbstractLibrary.h:45
Library::SearchBar
Definition
Searchbar.h:40
Library::TableView
Definition
TableView.h:36
QList
Definition
EngineUtils.h:33
SC::GUI_ArtistSearch
Definition
GUI_SoundcloudArtistSearch.h:48
SC::Library
Definition
SoundcloudLibrary.h:38
Generated on
for Sayonara Player by
1.17.0