diff options
author | Arno <arno@disconnect.de> | 2018-10-28 17:54:44 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-10-28 17:54:44 +0100 |
commit | 3bfc587c081df11a02fad65e9cf9a3174aba284a (patch) | |
tree | adaa25953d6c1c3caed9b243c473f6bbb6c19e4f /newmoviewizard.h | |
parent | e0ab681b294d21569e4de8831a75a44e45541784 (diff) | |
download | SheMov-3bfc587c081df11a02fad65e9cf9a3174aba284a.tar.gz SheMov-3bfc587c081df11a02fad65e9cf9a3174aba284a.tar.bz2 SheMov-3bfc587c081df11a02fad65e9cf9a3174aba284a.zip |
Lowercase subtitle
Insert lower case and trimmed QString into database instead of the
original version.
Also, while at it, silence some clang warnings about implicit
conversions and nullptrs.
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r-- | newmoviewizard.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h index d2deda3..132ae4e 100644 --- a/newmoviewizard.h +++ b/newmoviewizard.h @@ -32,7 +32,7 @@ class MetadataEditorWidget; class NewMovieWizard : public QWizard { Q_OBJECT public: - explicit NewMovieWizard(QWidget *parent = 0); + explicit NewMovieWizard(QWidget *parent = nullptr); virtual void accept(); virtual void reject(); MovieInfoPage *infoPage() { return mInfoPage; } @@ -49,7 +49,7 @@ class NewMovieWizard : public QWizard { class MovieInfoPage : public QWizardPage { Q_OBJECT public: - explicit MovieInfoPage(QWidget *parent = 0); + explicit MovieInfoPage(QWidget *parent = nullptr); WizardTreeModel *model() { return mFileModel; } virtual void initializePage(); void addFile(const QString &file); @@ -97,7 +97,7 @@ class MovieInfoPage : public QWizardPage { class MovieMappingPage : public QWizardPage { Q_OBJECT public: - explicit MovieMappingPage(const QString &table, QWidget *parent = 0); + explicit MovieMappingPage(const QString &table, QWidget *parent = nullptr); MappingEditorWidget *widget() { return mWidget; } virtual void initializePage(); @@ -110,7 +110,7 @@ class MovieMappingPage : public QWizardPage { class MovieMetadataPage : public QWizardPage { Q_OBJECT public: - explicit MovieMetadataPage(QWidget *parent = 0); + explicit MovieMetadataPage(QWidget *parent = nullptr); MetadataEditorWidget *widget() { return mWidget; } virtual void initializePage(); @@ -128,7 +128,7 @@ class WizardTreeModel : public SmTreeModel { enum Fields { FileName = 0, FileSize = 1, FileType = 2, FilePart = 3, FullPath = 4 }; enum { NumFields = 5 }; enum Types { Movie = 1, FrontCover = 2, BackCover = 3, GeneralCover = 4, Origin = 5 }; - explicit WizardTreeModel(QStringList &headers, QObject *parent = 0); + explicit WizardTreeModel(QStringList &headers, QObject *parent = nullptr); //data + flags virtual QVariant data(const QModelIndex &index, int role) const; |