On Sun, Feb 6, 2011 at 11:03 AM, Laszlo Papp <
djszapi@xxxxxxxxxxxx> wrote:
> Hi Shaan7,
>
> Can we add a new gamesviewitem member to this model and a new item
> data role to return it ? It would be much better for the update widget
> of the relevant KDE class.
> It is better to construct those widgets one time and return them
> instead of the relevant data and construct all the xxxx+ in the update
> widget method. It would be a performance bottleneck compared to the
> widget storage. (We should also add a setter for addition to the new
> QList <GamesViewItem> m_viewitems; member for sure)
>
> This addition would not break anything about the plasmoid because it
> is just called after a new custom item data role. The same happens
> with ghns, by the way.
>
> Best Regards,
> Laszlo Papp
>