This is a C++ issue about constructors that every basic C++ book covers this topic.
When you call the constructor of FileItem, it will call the constructor inherited from QListViewItem passing the given arguments. Also you got the constructor for QPixmap initializing it to 0. This is what those lines are doing.
Bookmarks