diff options
author | Arno <arno@disconnect.de> | 2018-02-02 05:33:19 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-02 05:33:19 +0100 |
commit | 1fca44997b41e07d23dbdf431133a8c5f01a7e64 (patch) | |
tree | 7ac3f5361ee4b16407ae90f2d0eedf7abd83c656 /searchdialog.h | |
parent | 0b7b9918e6ff156c1f587ea3940030a676d279e7 (diff) | |
download | ShemovCleaner-1fca44997b41e07d23dbdf431133a8c5f01a7e64.tar.gz ShemovCleaner-1fca44997b41e07d23dbdf431133a8c5f01a7e64.tar.bz2 ShemovCleaner-1fca44997b41e07d23dbdf431133a8c5f01a7e64.zip |
Get genres for search data
Diffstat (limited to 'searchdialog.h')
-rw-r--r-- | searchdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchdialog.h b/searchdialog.h index 6cb9212..54e6ea3 100644 --- a/searchdialog.h +++ b/searchdialog.h @@ -14,6 +14,7 @@ class SearchDialog : public QDialog { public: enum SearchTypes { Filename, Title }; enum CustomRoles { IdRole = Qt::UserRole + 1 }; + enum ChildMode { Actor, Genre }; explicit SearchDialog(QWidget *parent, Qt::WindowFlags f = 0); public slots: @@ -24,7 +25,7 @@ class SearchDialog : public QDialog { void doResultName(const QModelIndex &sel, int resType); private: - void doActors(QStandardItem *item); + void doChild(QStandardItem *item, int childMode); QLineEdit *mSearch; QComboBox *mTypeSel; QTreeView *mResV; |