KTempDir ?

Nicolas Goutte nicolasg at snafu.de
Thu Feb 6 19:48:18 GMT 2003

If you are using this in KOffice CVS HEAD, you will also have to add this 
function in KOffice, to be able to build KOffice on KDE 3.1.

Have a nice day/evening/night!

--- Original Message ---
List:     kde-core-devel
Subject:  KTempDir ?
 From:     Joseph Wenninger <jowenn () kde ! org>
Date:     2003-02-04 21:28:40


I would need something like KTempFile for an appliaction, I'm working at
(kexi), but for directories. I think that could be usefull for others
too, so I decided to create a KTempDir class.

I enclose a patchfile for the kdelibs build system and the fakes.c file.
The fakes.c part of the patch should provide a platform independent
mkdtemp (most of the code taken from the already existing mkstemps.

Additionaly I enclose the two cpp and h file which does the real work ;)

What do you think. Would it be usefull to include something like that
into kdecore ? Any major design flaws ?

Kind regards
Joseph Wenninger

More information about the kde-core-devel mailing list