summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2014-05-06 16:10:10 +0000
committerShawn Rutledge <shawn.rutledge@digia.com>2014-08-13 16:09:58 +0200
commit6c3c1a4cb8e4973b8e603edfbe608e1b1587f3f2 (patch)
treea5f94686383fc913b88ef23d949621face11d816 /tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro
parent091653e9e71c3e2ada54efe6b3592340e16eaa85 (diff)
Add the QStorageInfo class
Allows to retrieve information about mounted volumes such as label, total/available size, filesystem type and so on. Possible use cases are: - allows to do checks about filesystem before performing actual operation (such as available/maximum volume size) - allows to retrive information about volume that can be shown in file dialogs - allows to retrieve volume for specific path and check if two or more paths belong to the same volume or not [ChangeLog][QtCore] Added QStorageInfo class to retrive information about mounted volumes and drives Change-Id: Ibf9c2e6b53ef39c5605894a4422acdbbca4030c4 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro')
-rw-r--r--tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro b/tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro
new file mode 100644
index 0000000000..de27504a9b
--- /dev/null
+++ b/tests/auto/corelib/io/qstorageinfo/qstorageinfo.pro
@@ -0,0 +1,4 @@
+CONFIG += testcase
+TARGET = tst_qstorageinfo
+QT = core-private testlib
+SOURCES = tst_qstorageinfo.cpp