From 004b9243248a29eaa73b5fae5a5ef7b5ca914f94 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 25 Jul 2010 13:00:30 +0200 Subject: Fixed StatisticsDialog adapted StatisticsDialog to the new database schema and make it use WebKit and HTML to display the graph bars. This change obsoleted the classes ActorCountModel and GraphBarWidget. --- actorcountmodel.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 actorcountmodel.h (limited to 'actorcountmodel.h') diff --git a/actorcountmodel.h b/actorcountmodel.h deleted file mode 100644 index aa605aa..0000000 --- a/actorcountmodel.h +++ /dev/null @@ -1,31 +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 ACTORCOUNTMODEL_H -#define ACTORCOUNTMODEL_H - -#include - -class ActorCountModel : public QAbstractItemModel { - Q_OBJECT - public: - ActorCountModel(QObject *parent = 0); - virtual ~ActorCountModel(); - QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; - int rowCount(const QModelIndex &idx) const; - int columnCount(const QModelIndex &idx) const; - QVariant data(const QModelIndex &idx, int role = Qt::DisplayRole) const; - QVariant headerData(int section, Qt::Orientation o, int role = Qt::DisplayRole) const; - QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }; - - private: - QList >mItems; - QList mHeaderData; -}; - -#endif - -- cgit v1.2.3-70-g09d2