callgrind: simplify inheritance tree by removing AbstractModel

This commit is contained in:
hjk
2011-04-05 11:11:57 +02:00
parent faf3d5d34d
commit 223d3ca962
10 changed files with 28 additions and 102 deletions

View File

@@ -36,16 +36,9 @@
#include <QtGui/QStyledItemDelegate>
namespace Valgrind {
namespace Callgrind {
class AbstractModel;
}
}
namespace Callgrind {
namespace Internal {
class CostDelegate : public QStyledItemDelegate
{
Q_OBJECT
@@ -58,7 +51,7 @@ public:
const QModelIndex &index) const;
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
void setModel(Valgrind::Callgrind::AbstractModel *model);
void setModel(QAbstractItemModel *model);
enum CostFormat {
/// show absolute numbers
@@ -77,7 +70,6 @@ private:
Private *d;
};
} // Internal
} // Callgrind