Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qstorageinfo_unix.cpp File Reference

(7cf39bd785e8ba817960d48b120983cafcc539f3)

#include "qstorageinfo_p.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 70 of file qstorageinfo_unix.cpp.

◆ QT_STATFS

#define QT_STATFS   ::statvfs

Definition at line 62 of file qstorageinfo_unix.cpp.

◆ QT_STATFSBUF

#define QT_STATFSBUF   struct statvfs

Definition at line 61 of file qstorageinfo_unix.cpp.

Function Documentation

◆ retrieveLabel()

static QString retrieveLabel ( const QByteArray & device)
inlinestatic

Definition at line 369 of file qstorageinfo_unix.cpp.

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

+ Here is the call graph for this function: