File indexing completed on 2021-12-21 13:27:51

0001 /**
0002  * Copyright (C) 2005 Michael Pyne <mpyne@kde.org>
0003  * Copyright (C) 2014 Arnold Dumas <contact@arnolddumas.fr>
0004  *
0005  * This program is free software; you can redistribute it and/or modify it under
0006  * the terms of the GNU General Public License as published by the Free Software
0007  * Foundation; either version 2 of the License, or (at your option) any later
0008  * version.
0009  *
0010  * This program is distributed in the hope that it will be useful, but WITHOUT ANY
0011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
0012  * PARTICULAR PURPOSE. See the GNU General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU General Public License along with
0015  * this program.  If not, see <http://www.gnu.org/licenses/>.
0016  */
0017 
0018 #ifndef JUK_COVERDIALOG_H
0019 #define JUK_COVERDIALOG_H
0020 
0021 #include "ui_coverdialogbase.h"
0022 
0023 #include <QWidget>
0024 
0025 class QListWidgetItem;
0026 
0027 class CoverDialog : public QWidget, public Ui::CoverDialogBase
0028 {
0029     Q_OBJECT
0030 public:
0031     explicit CoverDialog(QWidget *parent);
0032     ~CoverDialog();
0033 
0034     virtual void show();
0035 
0036 public slots:
0037     void slotArtistClicked(QListWidgetItem *item);
0038     void slotContextRequested(const QPoint &pt);
0039     void slotSearchPatternChanged(const QString& pattern);
0040 
0041 private slots:
0042     void loadCovers();
0043     void removeSelectedCover();
0044 };
0045 
0046 #endif /* JUK_COVERDIALOG_H */
0047 
0048 // vim: set et sw=4 tw=0 sta: