diff options
author | Arno <am@disconnect.de> | 2014-12-07 12:40:35 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-12-07 12:40:35 +0100 |
commit | 51bc87ebc73b5777ad36e35ec20445b07a0d7639 (patch) | |
tree | 71b7b02041a5a728cf7dc2b62892328d3bd2d907 /archiveview.h | |
parent | bd3716dcab86c7d3e018004a1f26b470a7f6cfb7 (diff) | |
download | SheMov-51bc87ebc73b5777ad36e35ec20445b07a0d7639.tar.gz SheMov-51bc87ebc73b5777ad36e35ec20445b07a0d7639.tar.bz2 SheMov-51bc87ebc73b5777ad36e35ec20445b07a0d7639.zip |
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.
Diffstat (limited to 'archiveview.h')
-rw-r--r-- | archiveview.h | 11 |
1 files changed, 8 insertions, 3 deletions
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<QVariant> &data); QList<QVariant> 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<QWidget*> mWidgets; }; |