summaryrefslogtreecommitdiffstats
path: root/krootbacking
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 00:33:23 -0600
committerTimothy Pearson <[email protected]>2013-01-31 00:33:23 -0600
commit5e5409d89552fa6839ab6cd52a47306eb4d650f0 (patch)
treea441a0c3198bd49b38977428c46fef2197aeaa8b /krootbacking
parent8103f3767e023c58049df75422bc4c87cedae1a2 (diff)
downloadtdebase-5e5409d89552fa6839ab6cd52a47306eb4d650f0.tar.gz
tdebase-5e5409d89552fa6839ab6cd52a47306eb4d650f0.zip
Rename KShared
Diffstat (limited to 'krootbacking')
-rw-r--r--krootbacking/krootbacking.cpp6
-rw-r--r--krootbacking/krootbacking.h8
2 files changed, 7 insertions, 7 deletions
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();