summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorSoheil Armin <soheil.armin@qt.io>2024-10-17 10:41:36 +0300
committerSoheil Armin <soheil.armin@qt.io>2024-11-08 11:09:16 +0200
commita065c6bfe0e18436fe828bf3c5a1b2df710acbf2 (patch)
tree5d881e665581aeabda908cfe2b6a4855038b2013 /src/corelib/tools/qsharedpointer.cpp
parentab027eb73af1a555fb1042524fa7b3d4dda88c2c (diff)
Android: Add OnDataChangedListerner callback interface
Adds a new interface to QtAbstractItemModel Java class that can be used as a callback to listen to the changes of an editable model. The model can be an implementation of QtAbstractItemModel with an underlaying C++ QAndroidAbstractModelProxy instance, or it can be an instance of QtAbstractItemModel that proxies and refers to a QAbstractItemModel instance. This also adds setOnDataChangedListener() to QtAbstractItemModel so that it can call the interface callback function by connecting dataChanged() signal of the native instance to a lambda that invokes the handleDataChanged() private method of the JVM instance. Task-number: QTBUG-129387 Task-number: QTBUG-130251 Task-number: QTBUG-130252 Change-Id: I23da9e980b5402f4dcf7446560155271ccd8809e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions