helper class to use ARGB visual

Matthias Kretz kretz at
Fri Nov 2 14:29:40 GMT 2007


attached you find a class as KApplication replacement that will make the app 
use an ARGB visual if available.

I'm not sure whether we'd want to ship this with kdelibs (at basically no cost 
as it's 100% inline) or put this on techbase for people to copy when they 
need it.

It needs a word of warning: QWidget::scroll will break with an ARGB visual 
unless you export QT_NO_FAST_SCROLL=1 (at least with my setup). I'm using 
this for the volume change popup that I blogged about which works fine.

Comments where to put this?

Matthias Kretz (Germany)                            <><
MatthiasKretz at, kretz at,
Matthias.Kretz at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kapplicationargb.h
Type: text/x-c++hdr
Size: 3122 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list