Clementine-audio-player-Mac.../src/libraryconfig.h

33 lines
537 B
C
Raw Normal View History

2009-12-24 20:16:07 +01:00
#ifndef LIBRARYCONFIG_H
#define LIBRARYCONFIG_H
2010-02-03 17:17:04 +01:00
#include <QWidget>
2009-12-24 20:16:07 +01:00
#include "ui_libraryconfig.h"
2010-02-03 17:17:04 +01:00
class LibraryDirectoryModel;
2009-12-24 20:16:07 +01:00
2010-02-03 17:17:04 +01:00
class LibraryConfig : public QWidget {
2009-12-24 20:16:07 +01:00
Q_OBJECT
public:
LibraryConfig(QWidget* parent = 0);
2010-02-03 17:17:04 +01:00
void SetModel(LibraryDirectoryModel* model);
2009-12-24 20:16:07 +01:00
private slots:
void Add();
void Remove();
2010-02-03 17:17:04 +01:00
void BackendReady();
2009-12-24 20:16:07 +01:00
2010-02-03 17:17:04 +01:00
void CurrentRowChanged(const QModelIndex& index);
2009-12-24 20:16:07 +01:00
private:
static const char* kSettingsGroup;
Ui::LibraryConfig ui_;
2010-02-03 17:17:04 +01:00
LibraryDirectoryModel* model_;
2009-12-24 20:16:07 +01:00
};
#endif // LIBRARYCONFIG_H