Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstorageinfo_unix.cpp File Reference
#include "qstorageinfo_p.h"
#include <QtCore/qdiriterator.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qtextstream.h>
#include <QtCore/private/qcore_unix_p.h>
#include <QtCore/private/qlocale_tools_p.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
+ Include dependency graph for qstorageinfo_unix.cpp:

Go to the source code of this file.

Classes

class  QStorageIterator
 

Macros

#define QT_STATFSBUF   struct statvfs
 
#define QT_STATFS   ::statvfs
 
#define _PATH_MOUNTED   "/etc/mnttab"
 

Functions

static QString retrieveLabel (const QByteArray &device)
 

Macro Definition Documentation

◆ _PATH_MOUNTED

#define _PATH_MOUNTED   "/etc/mnttab"

Definition at line 71 of file qstorageinfo_unix.cpp.

◆ QT_STATFS

#define QT_STATFS   ::statvfs

Definition at line 63 of file qstorageinfo_unix.cpp.

◆ QT_STATFSBUF

#define QT_STATFSBUF   struct statvfs

Definition at line 62 of file qstorageinfo_unix.cpp.

Function Documentation

◆ retrieveLabel()

static QString retrieveLabel ( const QByteArray device)
inlinestatic

Definition at line 370 of file qstorageinfo_unix.cpp.

References device, QString::fromLocal8Bit(), pos, Q_UNUSED, and qstrcmp().

+ Here is the call graph for this function: