Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
src_corelib_io_qstorageinfo.cpp File Reference

Go to the source code of this file.

Functions

QStorageInfo storage (qApp->applicationDirPath())
 [0]
 
 if (storage.isValid() &&storage.isReady())
 
 foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes())
 [0]
 
 qDebug ()<< storage.rootPath()
 [1]
 

Variables

QStorageInfo storage = QStorageInfo::root()
 [1]
 

Function Documentation

◆ foreach()

foreach ( const QStorageInfo storage,
QStorageInfo::mountedVolumes()   
)

[0]

[1]

Definition at line 12 of file src_corelib_io_qstorageinfo.cpp.

References QStorageInfo::isReadOnly(), QStorageInfo::isReady(), QStorageInfo::isValid(), and storage.

+ Here is the call graph for this function:

◆ if()

if ( storage.  isValid) &&storage.isReady()

Definition at line 6 of file src_corelib_io_qstorageinfo.cpp.

◆ qDebug()

qDebug ( )

[1]

[toString]

◆ storage()

QStorageInfo storage ( qApp->  applicationDirPath())

[0]

Variable Documentation

◆ storage