Rename KShared

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

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

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

Loading…
Cancel
Save