Quote Originally Posted by shock View Post
and the delegates are provided X-times according to the Listmodel which holds the data for each Delegate
The delegate is provided once per view using the "delegate" property of the view. The model itself doesn't use a delegate.

this might be set via setItemData() correct? And in the delegate I can access the data via the role.
No, that's wrong, that's my point that you are doing it the wrong way. Your model shouldn't be composed of delegates or anything like that. The model holds data, regardless of how the data is stored. You don't need any "items" in the model, the data could be generated on the fly. The "items" are not "delegates", they have no visual representation in the model.

What for do i need the QDeclarativeItem anyways?
The way I see it you are providing a custom delegate (TaskData or EmpData). If you implement it in C++, it will be derived from QDeclarativeItem.

By now it is working without it..
You have QDeclarativeItem instances all over your code, just take a look.

If i store the data in the model directly i have to use different model instances
Different model instances of what?

how does the model interact with that Data?
The model doesn't interact with data. The model represents the data, it provides access to it.