Hi,
I'm new to qt
I started some day ago with qt, setting up Eclipse CDT with qt plugin on a Linux Ubuntu 10.04 computer.
After some test with the library and reading some documentation on the net like http://doc.qt.nokia.com/4.7/model-view-programming.html I started to make some experiment with QListView.

The problem now is..
I'm able to manage insert and remove of QString inside the QListView.

But how can I put/get Generic Object with my choosen rappresentation?

For example:

class MyCustomElement {
private:
int index;
string name;
string surname;
};

How can I put some MyCustomElement Object inside a ListView?
Do I need to inherit from this http://doc.qt.nokia.com/4.7/qabstractitemmodel.html MyCustomElement ?
Should I use a TableView instead of a ListView?
Thanks you