Itemviews - ScrollPerItem, ScrollPerPixel

Michael Pyne mpyne at purinchu.net
Thu Jun 5 21:16:07 BST 2008


On Thursday 05 June 2008, Rafael Fernández López wrote:
> I meant BIC changes if we already have somewhere in libs or whatever
> classes inheriting QListView... etc (that we have), we would have to change
> those to KListView... etc.

Guys,

If it's necessary to introduce a KListView for this we don't have to make the 
other classes that already derive from QListView derive from KListView.

It would suck to have to add code to set a default scroll style in more than 
one class but it's not infeasible.  We could introduce a KListView for 
applications to be ported to and for new applications to use.  Current kdelibs 
subclasses of QListView would also have to check.

The check itself could simply be a static method of KListView:

static void setupDefaultViewSettings(QListView &listView);

or something like that.

Regards,
 - Michael Pyne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080605/0180a624/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080605/0180a624/attachment.sig>


More information about the kde-core-devel mailing list