Helge Fredriksen wrote:
> got final it seems in Jambi 4.4, thus I cannot override it as I used to
> in my implementation. How do I now update the datamodel behind the
> scenes about changes made in the UI?
This is correct, we did make quite a few methods final in this release
that was previously wrongly introduced as non-virtual. The "proper"
setData function is still virtual. With proper, I mean the one that
actually may be called from inside our API. The other setData()
functions are just convenience around this.
If I run javap on the qtjambi-4.4.0_01.jar file I get:
public final boolean setData(QModelIndex, Object);
public boolean setData(QModelIndex, java.lang.Object, int);
public final boolean setData(int, int, Object);
public final boolean setData(int, int, Object, int);
To react to data changes you reimplement setData() which takes a
QModelIndex.
-
Gunnar
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest