RFC: boolean to disable autocreate in locateLocal
Tobias Koenig
tokoe at kde.org
Sun May 18 13:39:41 BST 2003
Hi,
Could we add a boolean parameter to locateLocal() to avoid
autocreation of the file/directory?
In this way we could use code like the following
if ( QFile::exists( locateLocal( "data", "mydata.dat", false ) ) )
do_something();
ATM you have to assemble the path manually with
KStandardDirs::saveLocation()...
Ciao,
Tobias
--
Can a government that shoots at reporters be democratic?
Seperate politics from religion and economy!
More information about the kde-core-devel
mailing list