2010-02-03 17:17:04 +01:00
|
|
|
#ifndef SETTINGSDIALOG_H
|
|
|
|
#define SETTINGSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "ui_settingsdialog.h"
|
|
|
|
|
|
|
|
class LibraryDirectoryModel;
|
|
|
|
|
|
|
|
class SettingsDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SettingsDialog(QWidget* parent = 0);
|
|
|
|
|
|
|
|
void SetLibraryDirectoryModel(LibraryDirectoryModel* model);
|
|
|
|
|
2010-02-03 17:51:56 +01:00
|
|
|
// QDialog
|
|
|
|
void accept();
|
|
|
|
|
|
|
|
// QWidget
|
|
|
|
void showEvent(QShowEvent* e);
|
|
|
|
|
2010-02-03 17:17:04 +01:00
|
|
|
private slots:
|
|
|
|
void CurrentTextChanged(const QString& text);
|
2010-02-03 18:21:25 +01:00
|
|
|
void NotificationTypeChanged();
|
2010-02-03 19:32:48 +01:00
|
|
|
void LastFMValidationComplete(bool success);
|
2010-02-03 17:17:04 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::SettingsDialog ui_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTINGSDIALOG_H
|