|
|
|
@ -48,7 +48,7 @@ void KMyRootPixmap::init()
|
|
|
|
|
{
|
|
|
|
|
// d = new KMyRootPixmapData;
|
|
|
|
|
// m_Fade = 0;
|
|
|
|
|
m_pPixmap = new KSharedPixmap;
|
|
|
|
|
m_pPixmap = new TDESharedPixmap;
|
|
|
|
|
// m_pTimer = new TQTimer( this );
|
|
|
|
|
m_bInit = false;
|
|
|
|
|
m_bActive = false;
|
|
|
|
@ -111,7 +111,7 @@ void KMyRootPixmap::repaint(bool force)
|
|
|
|
|
{
|
|
|
|
|
emit backgroundUpdated(NULL);
|
|
|
|
|
}else{
|
|
|
|
|
// KSharedPixmap will correctly generate a tile for us.
|
|
|
|
|
// TDESharedPixmap will correctly generate a tile for us.
|
|
|
|
|
m_pPixmap->loadFromShared(pixmapName(m_Desk));
|
|
|
|
|
updateBackground( m_pPixmap );
|
|
|
|
|
}
|
|
|
|
@ -166,7 +166,7 @@ void KMyRootPixmap::slotDone(bool success)
|
|
|
|
|
updateBackground( m_pPixmap );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KMyRootPixmap::updateBackground( KSharedPixmap *spm )
|
|
|
|
|
void KMyRootPixmap::updateBackground( TDESharedPixmap *spm )
|
|
|
|
|
{
|
|
|
|
|
// printf("KMyRootPixmap::updateBackground(%p)\n",spm);
|
|
|
|
|
TQPixmap *px=spm;
|
|
|
|
|