summaryrefslogtreecommitdiffstats
path: root/searchdialog.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2020-07-25 06:30:46 +0200
committerArno <arno@disconnect.de>2020-07-25 06:30:46 +0200
commit53c341418768575801fabdcdc1272a4bdac18162 (patch)
treed95063eb8144a773852361f9c8bfe2a0a8530ba7 /searchdialog.h
parent4b083defccae30fe7dc7f9eaaad96c051b8e4b59 (diff)
downloadSheMov-53c341418768575801fabdcdc1272a4bdac18162.tar.gz
SheMov-53c341418768575801fabdcdc1272a4bdac18162.tar.bz2
SheMov-53c341418768575801fabdcdc1272a4bdac18162.zip
Implement actor search
Diffstat (limited to 'searchdialog.h')
-rw-r--r--searchdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/searchdialog.h b/searchdialog.h
index 3cbd3ae..4a387d4 100644
--- a/searchdialog.h
+++ b/searchdialog.h
@@ -45,12 +45,14 @@ class ActorsAndMore : public QWidget {
Q_OBJECT
public:
enum SearchTypes { Actor, Title };
+ enum CustomRoles { IdRole = Qt::UserRole + 1 };
ActorsAndMore(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::Widget);
public slots:
void doSearch();
private:
+ void searchActor(const QString &actor);
QComboBox *mTypeSel;
QLineEdit *mSearch;
QStandardItemModel *mResultModel;