Image 01
profile-image

jamesliu

James Liu
kwinacqua

KDE 3.x Window Decorations by jamesliu 59 comments

whatch out for big typo: the above should read

rm *.moc
for i in *.h; do moc -o `basename $i .h`.moc $i; done


- Jun 04 2002
kwinacqua

KDE 3.x Window Decorations by jamesliu 59 comments

the include is qvariant.h. It has to be the very first include.

And you have to generate moc files for all headers. In bash, I did
rm *.moc
for i in *.h; do moc -o `basename $i .h` $i; done

M.J. Soto - Jun 04 2002
kwinacqua

KDE 3.x Window Decorations by jamesliu 59 comments

The repaint so slow is because i use the QPainter::drawTiledPixmap() fuction. I have to use this fuction because i have to fit the gray-white-gray background of the buttons, which i borrow from the "sort_of_acqua" Icewm decoration. If i have the transparent background buttons, the problem will be solved. I am not good at art work, so please help guys!
- Dec 19 2001