summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/BaseModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-04-19 01:09:45 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-04-19 01:09:45 -0400
commitc00fb11482ec7c103f05eb9ac8a210242064024a (patch)
tree7705b3635210c5f0fb09f80abf4f520ba06a208c /sigmodr/tree/BaseModel.cpp
parentafef610298a2803877e79fc1f781f224ca90b832 (diff)
downloadsigen-c00fb11482ec7c103f05eb9ac8a210242064024a.tar.gz
sigen-c00fb11482ec7c103f05eb9ac8a210242064024a.tar.xz
sigen-c00fb11482ec7c103f05eb9ac8a210242064024a.zip
Add how the model changed in signals and slots for notification of changes
Diffstat (limited to 'sigmodr/tree/BaseModel.cpp')
-rw-r--r--sigmodr/tree/BaseModel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmodr/tree/BaseModel.cpp b/sigmodr/tree/BaseModel.cpp
index 3981e923..0dceeaa4 100644
--- a/sigmodr/tree/BaseModel.cpp
+++ b/sigmodr/tree/BaseModel.cpp
@@ -128,16 +128,16 @@ bool BaseModel::loadFromData(const QString& data, QDomDocument* xml) const
return loaded;
}
-void BaseModel::childRowChanged(const int row)
+void BaseModel::childRowChanged(const int row, const Change change)
{
QList<int> indexes;
indexes << indexNumber() << row;
- emit(rowsChanged(indexes));
+ emit(rowsChanged(indexes, change));
}
-void BaseModel::childRowsChanged(const QList<int>& rows)
+void BaseModel::childRowsChanged(const QList<int>& rows, const Change change)
{
QList<int> indexes;
indexes << indexNumber() << rows;
- emit(rowsChanged(indexes));
+ emit(rowsChanged(indexes, change));
}