Turn the Magnatune store into a plugin, and in the process, export a bunch of stuff...
[amarok.git] / src / servicebrowser / magnatunestore / magnatuneredownloaddialog.h
blobfbde461d0a0260d44a4882b99c49e4983d8cbddb
1 /***************************************************************************
2 * Copyright (c) 2006, 2007 *
3 * Nikolaj Hald Nielsen <nhnFreespirit@gmail.com> *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19 ***************************************************************************/
22 #ifndef MAGNATUNE_REDOWNLOAD_DIALOG_H
23 #define MAGNATUNE_REDOWNLOAD_DIALOG_H
25 #include "magnatuneredownloaddialogbase.h"
27 #include <QStringList>
29 class MagnatuneRedownloadDialog : public QDialog, public Ui::magnatuneReDownloadDialogBase
31 Q_OBJECT
33 public:
34 explicit MagnatuneRedownloadDialog( QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WFlags fl = 0 );
35 ~MagnatuneRedownloadDialog();
36 /*$PUBLIC_FUNCTIONS$*/
38 void setRedownloadItems(const QStringList &items);
40 signals:
42 void redownload(const QString &downloadInfoFileName);
43 void cancelled();
45 public slots:
46 /*$PUBLIC_SLOTS$*/
48 protected:
49 /*$PROTECTED_FUNCTIONS$*/
51 protected slots:
52 /*$PROTECTED_SLOTS$*/
53 void redownload();
54 void selectionChanged();
55 void reject();
59 #endif