logo       

Different ways to create a directory: msg#00407

kde-devel

Subject: Different ways to create a directory

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 Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise