KTempFile->QTemporaryFile
Frans Englich
englich at kde.org
Mon Sep 11 22:57:09 BST 2006
On Monday 11 September 2006 21:19, Benjamin Meyer wrote:
> On Monday 11 September 2006 10:40 pm, Thiago Macieira wrote:
> > Benjamin Meyer wrote:
> > >> It's already standardised in FHS and, therefore, the LSB. In non-Linux
> > >> systems, /tmp is the de-facto standard. I don't know where MacOS X
> > >> would store them, though.
> > >
> > >If it is the standard why does KDE has some official kde tmp location?
> >
> > We don't. We use /tmp.
> >
> > We just use a sub-directory under it, per user, to avoid other users from
> > finding out what you're looking at.
>
> That is a contradiction. /tmp is the standard, but kde apps shouldn't use
> it, but /tmp/foobar
I don't get it. If that reasoning should hold in general, it means that no one
should be able to create sub-directories in /tmp/, right? Surely the LSB
allows apps to create dirs in /tmp, is my guess.
> Perhaps this sounds like a feature that QTemp should have (well really
> QDir::temp())? Perhaps standardize this feature with free desktop?
Yes, somehow it should be in Qt, that's my thoughtt too. It feels like it's
something Qt will have in a minor release or two, considering its broader
take on "desktop integration".
The problem though is that it's configurable in KDE, so it's a KGlobal thing,
IIRC. Not that I can think of a good reason why..
Cheers,
Frans
More information about the kde-core-devel
mailing list