diff options
author | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-07-21 13:48:56 +0000 |
---|---|---|
committer | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-07-21 13:48:56 +0000 |
commit | 84ed109c159dcbd0c9395717d54599e902060b26 (patch) | |
tree | 01bb4a4d6148ec46952a1cdd5e923bb7b642305e /covereditor.h | |
parent | ec3418479b28ca8e162f84d76c2eed78c27a114c (diff) | |
download | SheMov-84ed109c159dcbd0c9395717d54599e902060b26.tar.gz SheMov-84ed109c159dcbd0c9395717d54599e902060b26.tar.bz2 SheMov-84ed109c159dcbd0c9395717d54599e902060b26.zip |
-Made CoverItem behave consistent
-get QModelIndex from MovieModel by movieId
-ArchiveView: added delegates for dvd and size, MovieItem now returns size as int
-Finished EditArchiveItemDialog
-Reverted covereditor, it became too convoluted
git-svn-id: file:///var/svn/repos2/shemov/trunk@393 f440f766-f032-0410-8965-dc7d17de2ca0
Diffstat (limited to 'covereditor.h')
-rw-r--r-- | covereditor.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/covereditor.h b/covereditor.h index 1c0fb93..c702ef8 100644 --- a/covereditor.h +++ b/covereditor.h @@ -12,14 +12,11 @@ class QComboBox; class QStringList; -class QPushButton; class CoverEditor : public QWidget { Q_OBJECT - Q_ENUMS(Mode); public: - enum Mode { Archive, Update }; - CoverEditor(Mode mode = Archive, QWidget *parent = 0, Qt::WindowFlags f = 0); + CoverEditor(QWidget *parent = 0, Qt::WindowFlags f = 0); ~CoverEditor() {}; void setCovers(const QStringList &covers); const QString frontCover() const; @@ -27,17 +24,12 @@ class CoverEditor : public QWidget { const QString covers() const; const QString movie() const; - private slots: - void addFile(); - private: const QString findPath(const QString &name) const; QComboBox *mFrontCover; QComboBox *mBackCover; QComboBox *mCovers; QComboBox *mMovie; - QPushButton *mAddFile; - Mode mMode; QStringList mCoverPaths; }; |