Fwd: KTempFile->QTemporaryFile
Will Entriken
kde.org at phor.net
Mon Sep 11 15:48:30 BST 2006
---------- Forwarded message ----------
From: Will Entriken <kde.org at phor.net>
Date: Sep 11, 2006 10:11 AM
Subject: Re: KTempFile->QTemporaryFile
To: Jaison Lee <lee.jaison at gmail.com>
Is this what we're talking about?
class KDECORE_EXPORT KTemporaryFile : public QTemporaryFile
{
public:
KTemporaryFile()
: QTemporaryFile()
{
QString prefix = KStandardDirs::locateLocal("tmp",
KGlobal::instance()->instanceName());
setFileTemplate(prefix);
}
explicit KTemporaryFile(const QString &templateName)
: QTemporaryFile(templateName)
{
}
};
Or are there extra provisions for suffix and mode?
I think some people on the thread may be looking forward to this written out.
-WE
More information about the kde-core-devel
mailing list