From 5e5409d89552fa6839ab6cd52a47306eb4d650f0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:33:23 -0600 Subject: Rename KShared --- krootbacking/krootbacking.cpp | 6 +++--- krootbacking/krootbacking.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'krootbacking') diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp index 9296a3f1e..afb8eab32 100644 --- a/krootbacking/krootbacking.cpp +++ b/krootbacking/krootbacking.cpp @@ -63,7 +63,7 @@ void KRootBacking::init() { d = new KRootBackingData; m_Fade = 0; - m_pPixmap = new KSharedPixmap; //ordinary KPixmap on win32 + m_pPixmap = new TDESharedPixmap; //ordinary KPixmap on win32 m_pTimer = new TQTimer( this ); m_bInit = false; m_bActive = false; @@ -156,7 +156,7 @@ void KRootBacking::repaint(bool force) #ifdef Q_WS_X11 m_Desk = currentDesktop(); - // KSharedPixmap will correctly generate a tile for us. + // TDESharedPixmap will correctly generate a tile for us. m_pPixmap->loadFromShared(pixmapName(m_Desk), m_Rect); #else m_Desk = currentDesktop(); @@ -230,7 +230,7 @@ void KRootBacking::slotDone(bool success) updateBackground( m_pPixmap ); } -void KRootBacking::updateBackground( KSharedPixmap *spm ) +void KRootBacking::updateBackground( TDESharedPixmap *spm ) { TQPixmap pm = *spm; diff --git a/krootbacking/krootbacking.h b/krootbacking/krootbacking.h index fd4707047..731e64362 100644 --- a/krootbacking/krootbacking.h +++ b/krootbacking/krootbacking.h @@ -32,7 +32,7 @@ class TQRect; class TQWidget; class TQTimer; -class KSharedPixmap; +class TDESharedPixmap; class KRootBackingData; /** @@ -128,7 +128,7 @@ public slots: void repaint(); /** - * Asks KDesktop to export the desktop background as a KSharedPixmap. + * Asks KDesktop to export the desktop background as a TDESharedPixmap. * This method uses DCOP to call KBackgroundIface/setExport(int). */ void enableExports(); @@ -152,7 +152,7 @@ protected: * applies the fade effect, then sets the target's background, or emits * backgroundUpdated(const TQPixmap &) depending on the painting mode. */ - virtual void updateBackground( KSharedPixmap * ); + virtual void updateBackground( TDESharedPixmap * ); private slots: void slotBackgroundChanged(int); @@ -168,7 +168,7 @@ private: TQRect m_Rect; TQTimer *m_pTimer; - KSharedPixmap *m_pPixmap; + TDESharedPixmap *m_pPixmap; KRootBackingData *d; void init(); -- cgit v1.2.3