Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstorageinfo_p.h File Reference
#include <QtCore/qloggingcategory.h>
#include <QtCore/qsystemdetection.h>
#include <QtCore/qtenvironmentvariables.h>
#include <QtCore/private/qglobal_p.h>
#include "qstorageinfo.h"
+ Include dependency graph for qstorageinfo_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename String >
QT_BEGIN_NAMESPACE static Q_LOGGING_CATEGORY(lcStorageInfo, "qt.core.qstorageinfo", QtWarningMsg) class QStorageInfoPrivate bool isParentOf (const String &parent, const QString &dirName)
 
static bool shouldIncludeFs (const QString &mountDir, const QByteArray &fsType)
 

Function Documentation

◆ isParentOf()

template<typename String >
QT_BEGIN_NAMESPACE static Q_LOGGING_CATEGORY(lcStorageInfo, "qt.core.qstorageinfo", QtWarningMsg) class QStorageInfoPrivate bool isParentOf ( const String &  parent,
const QString dirName 
)
inlinestatic

Definition at line 83 of file qstorageinfo_p.h.

References QString::at(), parent, QString::size(), and QString::startsWith().

Referenced by shouldIncludeFs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shouldIncludeFs()

static bool shouldIncludeFs ( const QString mountDir,
const QByteArray fsType 
)
inlinestatic

Definition at line 90 of file qstorageinfo_p.h.

References QByteArray::isEmpty(), and isParentOf().

Referenced by doParseMountInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: