129 return QString::fromUtf8(label); |
129 return QString::fromUtf8(label); |
130 } |
130 } |
131 return QVariant(); |
131 return QVariant(); |
132 } |
132 } |
133 |
133 |
|
134 void TableModel::update() { |
|
135 emit dataChanged(QModelIndex(),QModelIndex()); |
|
136 } |
|
137 |
134 void TableModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { |
138 void TableModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { |
135 UiListSelection *selection = listSelection(view->selectionModel()); |
139 UiListSelection *selection = listSelection(view->selectionModel()); |
136 |
140 |
137 UiEvent e; |
141 UiEvent e; |
138 e.obj = obj; |
142 e.obj = obj; |