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 /editarchiveitemdialog.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 'editarchiveitemdialog.h')
-rw-r--r-- | editarchiveitemdialog.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/editarchiveitemdialog.h b/editarchiveitemdialog.h index 529b446..92ea8f6 100644 --- a/editarchiveitemdialog.h +++ b/editarchiveitemdialog.h @@ -20,7 +20,6 @@ class QSpinBox; class QTextEdit; class QPushButton; class QModelIndex; -class CoverEditor; class EditArchiveItemDialog : public QDialog { Q_OBJECT @@ -29,14 +28,14 @@ class EditArchiveItemDialog : public QDialog { ~EditArchiveItemDialog() {}; void setMovie(const QModelIndex &movie); - private: - void setActors(); - void setMovieInfo(const QModelIndex &movie); - void setCovers(const QModelIndex &movie); + private slots: void addActor(); void removeActor(); void updateMovie(); - void updateCovers(); + + private: + void setActors(); + void setMovieInfo(const QModelIndex &movie); ListModel *mGenreModel; ListModel *mActorsModel; MovieModel *mMovieModel; @@ -53,7 +52,6 @@ class EditArchiveItemDialog : public QDialog { QLineEdit *mTitle; QHash<QString, QVariant> mActorMap; QList<QVariant> mCovers; - CoverEditor *mCoverEditor; int mMovieId; }; |