typedef struct Gradient { QSize size; QColor ca; QColor cb; KImageEffect::GradientType type; short xfactor; short yfactor; short ncols; };