Rename KShared

pull/1/head
Timothy Pearson 12 years ago
parent d60bc130aa
commit a31eff1805

@ -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;

@ -22,7 +22,7 @@
class TQRect;
class TQWidget;
class TQTimer;
class KSharedPixmap;
class TDESharedPixmap;
class KMyRootPixmapData;
class KMyRootPixmap: public TQObject
@ -73,7 +73,7 @@ signals:
protected:
// virtual bool eventFilter(TQObject *, TQEvent *);
virtual void updateBackground( KSharedPixmap * );
virtual void updateBackground( TDESharedPixmap * );
private slots:
// void slotBackgroundChanged(int);
@ -89,7 +89,7 @@ private:
TQRect m_Rect;
// TQWidget *m_pWidget;
// TQTimer *m_pTimer;
KSharedPixmap *m_pPixmap;
TDESharedPixmap *m_pPixmap;
// KMyRootPixmapData *d;
void init();

Loading…
Cancel
Save