I hesitate to use such code -- porting really tiny app from Qt3 to Qt4 is an ordeal (imho) and it is still not finished. I am afraid that by using such "hacks" as duplicating Qt source I am at even greater risk when I will port app from Qt4 to Qt5. So what I need is a "legit" way to get the table<->editor connection.
But don't get me wrong -- I appreciate your help! Thank you.
have a nice day, bye
PS. I think I will manage to do it manually -- after creating a delegate in table I can add some method to set which table it is, so delegate will know about table. So when createEditor is called I could pass an extra parameter for this editor, or notify table about the editor.
Ugly, but since there is no nice method in Qt....
Bookmarks