summaryrefslogtreecommitdiffstats
path: root/kdesktop/pixmapserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/pixmapserver.h')
-rw-r--r--kdesktop/pixmapserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/pixmapserver.h b/kdesktop/pixmapserver.h
index 661d531ad..6e5f03ffe 100644
--- a/kdesktop/pixmapserver.h
+++ b/kdesktop/pixmapserver.h
@@ -30,7 +30,7 @@ struct KPixmapInode
struct KPixmapData
{
- TQPixmap *pixmap;
+ TQPixmap pixmap;
int usecount;
int refcount;
};
@@ -70,7 +70,7 @@ public:
* @param pm A pointer to the pixmap.
* @param overwrite Should an pixmap with the same name be overwritten?
*/
- void add(TQString name, TQPixmap *pm, bool overwrite=true);
+ void add(TQString name, const TQPixmap &pm, bool overwrite=true);
/**
* Remove a pixmap from the server. This will delete the pixmap after