[SOLVED]QSqlTableModel subclass
-
wrote on 21 May 2015, 14:35 last edited by GrahamL
Hi
I am developing a subclass from QSqlTableModel and would appreciate anyone who could tell me what type of object would be returned by callinginternalPointer
on aQModelIndex
Thanks in advance
-
@GrahamL said:
internalPointer
internalPointer
store a pointer to the internal structure of the model; you could check the Qt sources to verify the exact type.Just to talk, why do you need to access to these data?
-
wrote on 22 May 2015, 07:58 last edited by
Hi,
internalPointer()
is basically used when you usecreateIndex()
.
As I said the internal structure is not specified in the documentation; so if you want to understand the exact implementation you have to have a look in the Qt sources
3/4