diff options
author | Arno <arno@disconnect.de> | 2025-02-22 12:32:10 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2025-02-22 12:32:10 +0100 |
commit | 65fec2cecdf8345c7b6b6e8ad5b83d6b5a6dad80 (patch) | |
tree | 84f63aea2b6af37b3a999732d65a03cfa6ca96f5 /newmoviewizard.h | |
parent | a90ed071336371936abb25b6de892c543d3c30cf (diff) | |
download | SheMov-65fec2cecdf8345c7b6b6e8ad5b83d6b5a6dad80.tar.gz SheMov-65fec2cecdf8345c7b6b6e8ad5b83d6b5a6dad80.tar.bz2 SheMov-65fec2cecdf8345c7b6b6e8ad5b83d6b5a6dad80.zip |
Guess actors from filename
Continuing to use the filename pattern: use the first capture group
split by '&' as possible actors.
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r-- | newmoviewizard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h index aef50f5..a8f4908 100644 --- a/newmoviewizard.h +++ b/newmoviewizard.h @@ -20,6 +20,8 @@ class NewMovieWizard : public QWizard { explicit NewMovieWizard(QWidget *parent = nullptr); virtual void accept(); virtual void reject(); + void setPossibleActors(const QStringList &list) { mPossibleActors = list; }; + const QStringList &getPossibleActors() { return mPossibleActors; }; MovieInfoPage *infoPage() { return mInfoPage; } MovieMappingPage *actorPage() { return mActorPage; } MovieMappingPage *genrePage() { return mGenrePage; } @@ -30,6 +32,7 @@ class NewMovieWizard : public QWizard { MovieMappingPage *mActorPage; MovieMappingPage *mGenrePage; MovieMetadataPage *mMetadataPage; + QStringList mPossibleActors; }; #endif |