diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:15:51 -0600 |
commit | f7055674768fa7f0267da4a14b9061e60ebab3fc (patch) | |
tree | 9cf91b2040d16220234c24c945e950952c359832 /chalk/core/tiles | |
parent | af2ab9c9888013e42237f71166eeafe5e988da0f (diff) | |
download | koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.tar.gz koffice-f7055674768fa7f0267da4a14b9061e60ebab3fc.zip |
Rename KShared
Diffstat (limited to 'chalk/core/tiles')
-rw-r--r-- | chalk/core/tiles/kis_memento.cc | 2 | ||||
-rw-r--r-- | chalk/core/tiles/kis_memento.h | 4 | ||||
-rw-r--r-- | chalk/core/tiles/kis_tiled_random_accessor.h | 2 | ||||
-rw-r--r-- | chalk/core/tiles/kis_tileddatamanager.cc | 2 | ||||
-rw-r--r-- | chalk/core/tiles/kis_tileddatamanager.h | 10 | ||||
-rw-r--r-- | chalk/core/tiles/kis_tilediterator.cc | 2 | ||||
-rw-r--r-- | chalk/core/tiles/kis_tilediterator.h | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/chalk/core/tiles/kis_memento.cc b/chalk/core/tiles/kis_memento.cc index c67a0476..1181f70a 100644 --- a/chalk/core/tiles/kis_memento.cc +++ b/chalk/core/tiles/kis_memento.cc @@ -20,7 +20,7 @@ #include "kis_tile.h" #include "kis_tile_global.h" -KisMemento::KisMemento(TQ_UINT32 pixelSize) : KShared() +KisMemento::KisMemento(TQ_UINT32 pixelSize) : TDEShared() { m_hashTable = new KisTile * [1024]; TQ_CHECK_PTR(m_hashTable); diff --git a/chalk/core/tiles/kis_memento.h b/chalk/core/tiles/kis_memento.h index 3213a490..75739853 100644 --- a/chalk/core/tiles/kis_memento.h +++ b/chalk/core/tiles/kis_memento.h @@ -28,9 +28,9 @@ class KisTile; class KisTiledDataManager; class KisMemento; -typedef KSharedPtr<KisMemento> KisMementoSP; +typedef TDESharedPtr<KisMemento> KisMementoSP; -class KisMemento : public KShared +class KisMemento : public TDEShared { public: KisMemento(TQ_UINT32 pixelSize); diff --git a/chalk/core/tiles/kis_tiled_random_accessor.h b/chalk/core/tiles/kis_tiled_random_accessor.h index 23768ee6..207f4313 100644 --- a/chalk/core/tiles/kis_tiled_random_accessor.h +++ b/chalk/core/tiles/kis_tiled_random_accessor.h @@ -27,7 +27,7 @@ class KisTile; -class KisTiledRandomAccessor : public KShared { +class KisTiledRandomAccessor : public TDEShared { struct KisTileInfo { KisTile* tile; KisTile* oldtile; diff --git a/chalk/core/tiles/kis_tileddatamanager.cc b/chalk/core/tiles/kis_tileddatamanager.cc index 6d99dc93..4586903c 100644 --- a/chalk/core/tiles/kis_tileddatamanager.cc +++ b/chalk/core/tiles/kis_tileddatamanager.cc @@ -61,7 +61,7 @@ KisTiledDataManager::KisTiledDataManager(TQ_UINT32 pixelSize, const TQ_UINT8 *de } KisTiledDataManager::KisTiledDataManager(const KisTiledDataManager & dm) - : KShared() + : TDEShared() { m_pixelSize = dm.m_pixelSize; diff --git a/chalk/core/tiles/kis_tileddatamanager.h b/chalk/core/tiles/kis_tileddatamanager.h index 20d78085..539a9ae1 100644 --- a/chalk/core/tiles/kis_tileddatamanager.h +++ b/chalk/core/tiles/kis_tileddatamanager.h @@ -28,16 +28,16 @@ #include "kis_memento.h" class KisTiledDataManager; -typedef KSharedPtr<KisTiledDataManager> KisTiledDataManagerSP; +typedef TDESharedPtr<KisTiledDataManager> KisTiledDataManagerSP; class KisDataManager; -typedef KSharedPtr<KisDataManager> KisDataManagerSP; +typedef TDESharedPtr<KisDataManager> KisDataManagerSP; class KisTiledIterator; class KisTiledRandomAccessor; class KoStore; -class KisTileDataWrapper : public KShared { +class KisTileDataWrapper : public TDEShared { KisTile* m_tile; TQ_INT32 m_offset; public: @@ -46,7 +46,7 @@ public: TQ_UINT8* data() const { return m_tile->data() + m_offset; } }; -typedef KSharedPtr<KisTileDataWrapper> KisTileDataWrapperSP; +typedef TDESharedPtr<KisTileDataWrapper> KisTileDataWrapperSP; /** * KisTiledDataManager implements the interface that KisDataManager defines @@ -64,7 +64,7 @@ typedef KSharedPtr<KisTileDataWrapper> KisTileDataWrapperSP; * how many TQ_UINT8's a single pixel takes. */ -class KisTiledDataManager : public KShared { +class KisTiledDataManager : public TDEShared { protected: KisTiledDataManager(TQ_UINT32 pixelSize, const TQ_UINT8 *defPixel); diff --git a/chalk/core/tiles/kis_tilediterator.cc b/chalk/core/tiles/kis_tilediterator.cc index d6205f5a..0f3bdf00 100644 --- a/chalk/core/tiles/kis_tilediterator.cc +++ b/chalk/core/tiles/kis_tilediterator.cc @@ -44,7 +44,7 @@ KisTiledIterator::~KisTiledIterator( ) } KisTiledIterator::KisTiledIterator(const KisTiledIterator& rhs) - : KShared() + : TDEShared() { if (this != &rhs) { m_ktm = rhs.m_ktm; diff --git a/chalk/core/tiles/kis_tilediterator.h b/chalk/core/tiles/kis_tilediterator.h index 958876cd..6bb63c9b 100644 --- a/chalk/core/tiles/kis_tilediterator.h +++ b/chalk/core/tiles/kis_tilediterator.h @@ -28,7 +28,7 @@ /** * The KisIterator class iterates through the pixels of a KisPaintDevice hiding the tile structure */ -class KRITACORE_EXPORT KisTiledIterator : public KShared { +class KRITACORE_EXPORT KisTiledIterator : public TDEShared { protected: KisTiledDataManager *m_ktm; |