diff options
author | Arno <am@disconnect.de> | 2013-07-28 08:16:47 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-07-28 08:16:47 +0200 |
commit | d2e774d2fbb4250bc65ff81b542854e211b59f4c (patch) | |
tree | 4bab1ecf65d06bf058c4e3144444c81e3eaf88fb /archiveview.h | |
parent | d6b178b1fdcdac519ded25e3f253d9eeffa84053 (diff) | |
download | SheMov-d2e774d2fbb4250bc65ff81b542854e211b59f4c.tar.gz SheMov-d2e774d2fbb4250bc65ff81b542854e211b59f4c.tar.bz2 SheMov-d2e774d2fbb4250bc65ff81b542854e211b59f4c.zip |
Move filetype delegate to delegate.*
Missed this one the first time...
Diffstat (limited to 'archiveview.h')
-rw-r--r-- | archiveview.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/archiveview.h b/archiveview.h index 6abb86f..c786b33 100644 --- a/archiveview.h +++ b/archiveview.h @@ -124,17 +124,6 @@ class ArchiveFilesProxy : public QSortFilterProxyModel { explicit ArchiveFilesProxy(QObject *parent = 0); }; -class FileTypeDelegate : public QStyledItemDelegate { - Q_OBJECT - public: - explicit FileTypeDelegate(QObject *parent = 0); - virtual QString displayText(const QVariant &value, const QLocale &locale) const; - virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const; - - private: - QHash<int, QString> mFiletypeMap; -}; - /* separate widget since we need it in NewMovieWizard * and editing genres, actors in the new ArchiveView */ |