@@ -99,12 +99,14 void DeclarativeTableModel::append(QVariantList values) | |||||
99 |
|
99 | |||
100 | void DeclarativeTableModel::appendPoint(QXYModelMapper *mapper, DeclarativeXyPoint *point) |
|
100 | void DeclarativeTableModel::appendPoint(QXYModelMapper *mapper, DeclarativeXyPoint *point) | |
101 | { |
|
101 | { | |
102 | // qDebug() << "DeclarativeTableModel::appendPoint:" << point; |
|
102 | Q_UNUSED(mapper) | |
103 | QVariantList values; |
|
103 | Q_UNUSED(point) | |
104 | // TODO: XYModelMapper implementation has change, this code has to be updated. |
|
104 | // TODO: XYModelMapper implementation has change, this code has to be updated. | |
|
105 | // qDebug() << "DeclarativeTableModel::appendPoint:" << point; | |||
|
106 | // QVariantList values; | |||
105 | // values.insert(mapper->mapX(), point->x()); |
|
107 | // values.insert(mapper->mapX(), point->x()); | |
106 | // values.insert(mapper->mapY(), point->y()); |
|
108 | // values.insert(mapper->mapY(), point->y()); | |
107 | append(values); |
|
109 | // append(values); | |
108 | } |
|
110 | } | |
109 |
|
111 | |||
110 | #include "moc_declarativemodel.cpp" |
|
112 | #include "moc_declarativemodel.cpp" |
General Comments 0
You need to be logged in to leave comments.
Login now