Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
integrating with QAbstractListModel
ahmad98 last edited by
in my project i have a DBlayer class for connecting to database and reading/writing data,i have mylist class which inherits from QAbstractListModel ,i have signal and slot in DBlayer class that i want to connect them to mylist class, the problem is when i register mylist class to Qml like below :
i have no instance of mylist class to connect it's signal and slot to DBlayer class.
what is the best way to do this? is there another way to show my data in Qml ListView?