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_p.h File Reference

(96e5d0d5c19c09a2b0db5bd067deac06232a48ed)

#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 111 of file qstorageinfo_p.h.

References QString::at(), 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 118 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: