From 51bc87ebc73b5777ad36e35ec20445b07a0d7639 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 7 Dec 2014 12:40:35 +0100 Subject: Redesign of NewMovieWizard Make it possible to add parent files to files, so we can identify already downloaded files even if we reencoded them. Record the md5sum in a new table files_origin. --- archiveview.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'archiveview.h') diff --git a/archiveview.h b/archiveview.h index e6f741d..ffb4c0d 100644 --- a/archiveview.h +++ b/archiveview.h @@ -35,6 +35,7 @@ class QSpinBox; class QToolBar; class QMouseEvent; class QDragEnterEvent; +class QRadioButton; class ArchiveView : public QWidget { Q_OBJECT @@ -201,13 +202,14 @@ class MetadataEditorWidget : public QWidget { Q_OBJECT public: explicit MetadataEditorWidget(QWidget *parent = 0); - void setSources(const QStringList &sources); - void setReleaseGroups(const QStringList &relGroups); void setMetadata(const QList &data); QList metadata() const; public slots: - void setEnabledAll(bool enabled); + void setEnabledAll(bool enabled); + + signals: + void oldSelected(const QString &); private: QSpinBox *mReleaseYear; @@ -217,6 +219,9 @@ class MetadataEditorWidget : public QWidget { QLineEdit *mEncoderOpts; QSpinBox *mPasses; QTextEdit *mComment; + QRadioButton *mTorrent; + QRadioButton *mUsenet; + QLineEdit *mOldSizeLE; QDate mAdded; QList mWidgets; }; -- cgit v1.2.3-70-g09d2