20 #include "kcanvasrootpixmap.h"
26 : KRootPixmap(view, name), _view(view)
28 setCustomPainting(
true);
29 connect(
this, TQ_SIGNAL(backgroundUpdated(
const TQPixmap &)),
30 TQ_SLOT(backgroundUpdatedSlot(
const TQPixmap &)));
33 void KCanvasRootPixmap::backgroundUpdatedSlot(
const TQPixmap &pixmap)
35 if ( _view && _view->canvas() )
36 _view->canvas()->setBackgroundPixmap(pixmap);
39 #include "kcanvasrootpixmap.moc"
KCanvasRootPixmap(TQCanvasView *view, const char *name=0)
Constructor.