[Qt-interest] Checkimg for dirty table model
Petric Frank
pfrank at gmx.de
Wed Sep 15 12:30:00 CEST 2010
Hello Steven,
Am Dienstag, 14. September 2010, 20:42:53 schrieb Stephen Kelly:
> Petric Frank wrote:
> > Do i really have to iterate through all rows and columns to find a
> > changed (and not committed) field?
>
> Having never used that class I can only guess. But it seems you should use
> submitAll.
That is done afterwards. But how to see if any updates have been done to the
database (resulting from possibly changed data) ?
submitAll only gives (as i read the docs) only a success/no success info in
return. But no info whether it was necessary to do any uptdate to the database
- in other words there was something in the dirty list.
regards
Petric
More information about the Qt-interest-old
mailing list