analyzer: style and simplification

This commit is contained in:
hjk
2011-05-18 17:05:49 +02:00
parent a130b98509
commit 68504ab8a8
82 changed files with 508 additions and 583 deletions

View File

@@ -43,7 +43,6 @@ QT_END_NAMESPACE
namespace Valgrind {
namespace Callgrind {
class Function;
class DataModel;
}
}
@@ -58,7 +57,7 @@ public:
explicit Visualisation(QWidget *parent = 0);
virtual ~Visualisation();
void setModel(Valgrind::Callgrind::DataModel *model);
void setModel(QAbstractItemModel *model);
const Valgrind::Callgrind::Function *functionForItem(QGraphicsItem *item) const;
QGraphicsItem *itemForFunction(const Valgrind::Callgrind::Function *function) const;