I will describe what's happening in my program.
I have a main.cpp, list.cpp and custom_widget.cpp.
In main.cpp, as usually it is, i have only:
list->show();
In list.cpp i create a list widget. Then i get information from XML, and call custom_widget.cpp to create custom widgets and then i add them to the list.
In custom_widget.cpp i only create new custom widgets.

My question - is this an example of MVC or not? I think that something is wrong. My supervisor told me i should do as follows:
in list.cpp i need to fill an array with data and pass it to custom_widget.cpp
In custom_widget.cpp i need to create custom widgets and pass them back.
Then in List.cpp i need to fill the list.
Is he right?