View Full Version : How can we check the disk space?
learning_qt
15th December 2009, 11:51
Hello,
Which class can we use to check the disk space?
Thanks!
Baasie
15th December 2009, 13:59
you mean the psychical disc or just the partition. I don;t know about the physical disc but for a partition or any adress on your system just use QFileInfo.
QFileInfo sizeInfo("C:/");
int size = sizeInfo.size();
something like this (might made some typo's or something)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.