diff options
Diffstat (limited to 'archiveiteminfoedit.h')
-rw-r--r-- | archiveiteminfoedit.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/archiveiteminfoedit.h b/archiveiteminfoedit.h deleted file mode 100644 index 98a1736..0000000 --- a/archiveiteminfoedit.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version - 2 of the License, or (at your option) any later version. -*/ - -#ifndef ARCHIVEITEMINFOEDIT_H -#define ARCHIVEITEMINFOEDIT_H - -#include <QWidget> - -class QTreeView; -class QComboBox; -class QSpinBox; -class QLineEdit; -class FileInfoModel; -class ActorWidget; -class ListModel; -class QModelIndex; - -class ArchiveItemInfoEdit : public QWidget { - Q_OBJECT - public: - explicit ArchiveItemInfoEdit(QWidget *parent = 0); - void setup(const QModelIndex &idx); - const QString genre() const; - const QString title() const; - const QStringList actors() const; - int quality() const; - int dvd() const; - int series() const; - int part() const; - - public slots: - void setGenre(const QString &genre); - void setTitle(const QString &title); - void setQuality(int quality); - void setDvd(int dvd); - void setSeries(int series); - void setPart(int part); - - private slots: - void addActor(const QString &actor); - - private: - QTreeView *mInfoView; - QComboBox *mGenre; - QSpinBox *mQuality; - QSpinBox *mDvd; - QSpinBox *mSeries; - QSpinBox *mPart; - QLineEdit *mTitle; - ActorWidget *mActorView; - FileInfoModel *mInfoModel; - ListModel *mGenreModel; - ListModel *mActorModel; -}; - -#endif |