Software Tool Tips
List tool tips on some software tools
Sunday, January 9, 2011
Delete a folder in Qt
This code snippet allows programmer to delete a folder in Qt
#include <QDir>
void deleteDir(const std::string& foldername)
{
QDir dir;
dir.rmdir(foldername.c_str());
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment