summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-12-07 12:40:35 +0100
committerArno <am@disconnect.de>2014-12-07 12:40:35 +0100
commit51bc87ebc73b5777ad36e35ec20445b07a0d7639 (patch)
tree71b7b02041a5a728cf7dc2b62892328d3bd2d907 /archiveview.h
parentbd3716dcab86c7d3e018004a1f26b470a7f6cfb7 (diff)
downloadSheMov-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.h11
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;
};