diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-22 16:49:38 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-22 16:49:38 -0400 |
| commit | 4fb5cf2efb299150aff67e9d7ef2d474143b4f10 (patch) | |
| tree | 9374519548682cee4002f31085c1858d31dcf47f | |
| parent | 6149ae96855e380c24b790deefeb4a2a2f1e2975 (diff) | |
| download | sigen-4fb5cf2efb299150aff67e9d7ef2d474143b4f10.tar.gz sigen-4fb5cf2efb299150aff67e9d7ef2d474143b4f10.tar.xz sigen-4fb5cf2efb299150aff67e9d7ef2d474143b4f10.zip | |
Remove headerData method from SigmodrTreeModel
| -rw-r--r-- | sigmodr/tree/SigmodrTreeModel.cpp | 8 | ||||
| -rw-r--r-- | sigmodr/tree/SigmodrTreeModel.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sigmodr/tree/SigmodrTreeModel.cpp b/sigmodr/tree/SigmodrTreeModel.cpp index 1dcba153..5e44952a 100644 --- a/sigmodr/tree/SigmodrTreeModel.cpp +++ b/sigmodr/tree/SigmodrTreeModel.cpp @@ -53,14 +53,6 @@ QVariant SigmodrTreeModel::data(const QModelIndex& index, int role) const return object->data(role); } -QVariant SigmodrTreeModel::headerData(int section, Qt::Orientation orientation, int role) const -{ - Q_UNUSED(section) - Q_UNUSED(orientation) - Q_UNUSED(role) - return QVariant(); -} - QModelIndex SigmodrTreeModel::index(int row, int column, const QModelIndex& parent) const { if ((row < -1) || (column < -1)) diff --git a/sigmodr/tree/SigmodrTreeModel.h b/sigmodr/tree/SigmodrTreeModel.h index 86fba26c..c3131261 100644 --- a/sigmodr/tree/SigmodrTreeModel.h +++ b/sigmodr/tree/SigmodrTreeModel.h @@ -41,7 +41,6 @@ class SIGMODRTREE_NO_EXPORT SigmodrTreeModel : public QAbstractItemModel ~SigmodrTreeModel(); QVariant data(const QModelIndex& index, int role) const; - QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; QModelIndex index(int row, int column, const QModelIndex& parent) const; QModelIndex parent(const QModelIndex& index) const; |
