projects
/
someplayer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Centring current track (Player) and selected element after Back button
[someplayer]
/
src
/
managelibraryform.h
diff --git
a/src/managelibraryform.h
b/src/managelibraryform.h
index
91568b8
..
7bc4568
100644
(file)
--- a/
src/managelibraryform.h
+++ b/
src/managelibraryform.h
@@
-22,6
+22,11
@@
#include <QWidget>
#include "someplayer.h"
#include <QWidget>
#include "someplayer.h"
+#include <QStandardItemModel>
+#include "config.h"
+#include "busywidget.h"
+#include <QItemSelection>
+#include <QItemSelectionModel>
namespace Ui {
class ManageLibraryForm;
namespace Ui {
class ManageLibraryForm;
@@
-37,12
+42,27
@@
public:
explicit ManageLibraryForm(Library *library, QWidget *parent = 0);
~ManageLibraryForm();
explicit ManageLibraryForm(Library *library, QWidget *parent = 0);
~ManageLibraryForm();
+signals:
+ void refreshLibrary();
+
+public slots:
+ void refresh();
+ void updateIcons();
+ void updateTranslations();
+
private slots:
private slots:
- void add();
+ void _add();
+ void _process_selection(QItemSelection, QItemSelection);
+ void _delete_selected();
+ void _update_selected();
+ void _update_all();
private:
Ui::ManageLibraryForm *ui;
Library *_library;
private:
Ui::ManageLibraryForm *ui;
Library *_library;
+ QStandardItemModel *_model;
+ QString _icons_theme;
+ BusyWidget *_busy_widget;
};
#endif // MANAGELIBRARYFORM_H
};
#endif // MANAGELIBRARYFORM_H