summaryrefslogtreecommitdiffstats
path: root/tdecore/kallocator.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdecore/kallocator.h
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdecore/kallocator.h')
-rw-r--r--tdecore/kallocator.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdecore/kallocator.h b/tdecore/kallocator.h
index abc4c4b64..158fd76a8 100644
--- a/tdecore/kallocator.h
+++ b/tdecore/kallocator.h
@@ -29,7 +29,7 @@
#include <tqvaluelist.h>
#include "tdelibs_export.h"
-class KZoneAllocatorPrivate;
+class TDEZoneAllocatorPrivate;
/**
@@ -43,19 +43,19 @@ class KZoneAllocatorPrivate;
* memory though.
* @author Waldo Bastian <bastian@kde.org>, Michael Matz <matz@kde.org>
*/
-class TDECORE_EXPORT KZoneAllocator
+class TDECORE_EXPORT TDEZoneAllocator
{
public:
/**
- * Creates a KZoneAllocator object.
+ * Creates a TDEZoneAllocator object.
* @param _blockSize Size in bytes of the blocks requested from malloc.
*/
- KZoneAllocator(unsigned long _blockSize = 8*1024);
+ TDEZoneAllocator(unsigned long _blockSize = 8*1024);
/**
* Destructs the ZoneAllocator and free all memory allocated by it.
*/
- ~KZoneAllocator();
+ ~TDEZoneAllocator();
/**
* Allocates a memory block.
@@ -78,7 +78,7 @@ public:
* more time then the normal calls, and that after this list is built, i.e.
* generally if deallocate() is used at all, also allocate() is a
* little bit slower. This means, that if you want to squeeze out the last
- * bit performance you would want to use KZoneAllocator as an obstack, i.e.
+ * bit performance you would want to use TDEZoneAllocator as an obstack, i.e.
* just use the functions allocate() and free_since(). All the
* remaining memory is returned to the system if the zone allocator
* is destroyed.
@@ -93,7 +93,7 @@ public:
*
* The intended use is something along the lines of:
* \code
- * KZoneAllocator alloc(8192);
+ * TDEZoneAllocator alloc(8192);
* void *remember_me = alloc.allocate(0);
* for (int i = 0; i < 1000; i++)
* do_something_with (alloc.allocate(12));
@@ -134,7 +134,7 @@ protected:
/** Flag the hashes as in need of reorganization. @internal */
bool hashDirty;
private:
- KZoneAllocatorPrivate *d;
+ TDEZoneAllocatorPrivate *d;
};
#endif