[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Different ways to create a directory
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2009-07-30 19:39:14
Message-ID: 68c3445d0907301239r6665fe3bi56d654292842b0dc () mail ! gmail ! com
[Download RAW message or body]

Hi there,

Currently, I can see that a directory can be created with QDir::mkdir,
KIO::mkdir, NetAccess::mkdir (a wrapper around KIO::mkdir for
synchronous usage) and KStandardDirs::makeDir.

Is any of these frowned upon, and is any of them the most recommended?
What's the purpose of KStandardDirs::makeDir and other methods such as
exists and checkAccess? Aren't they just duplicating functionality
available elsewhere?
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic