Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstorageinfo_win.cpp File Reference
#include "qstorageinfo_p.h"
#include <QtCore/qdir.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qmutex.h>
#include <QtCore/qvarlengtharray.h>
#include "qfilesystementry_p.h"
#include "private/qsystemlibrary_p.h"
#include "qntdll_p.h"
+ Include dependency graph for qstorageinfo_win.cpp:

Go to the source code of this file.

Classes

struct  Helper
 

Functions

static QString canonicalPath (const QString &rootPath)
 
static QByteArray getDevice (const QString &rootPath)
 
 Q_GLOBAL_STATIC (Helper, gNtdllHelper) inline QFunctionPointer resolveSymbol(QSystemLibrary *ntdll
 

Variables

static const int defaultBufferSize = MAX_PATH + 1
 
const char * name
 

Function Documentation

◆ canonicalPath()

static QString canonicalPath ( const QString rootPath)
static

Definition at line 22 of file qstorageinfo_win.cpp.

References QDir::toNativeSeparators().

Referenced by QQmlImportDatabase::QQmlImportDatabase(), QQmlJS::Dom::QmltypesFile::addExport(), QQmlJS::Dom::RefCacheEntry::addForPath(), QFileSystemEngine::canonicalName(), QFileSystemModel::filePath(), QQmlLSUtils::findDefinitionOf(), QQmlJS::Dom::RefCacheEntry::forPath(), pythonRoot(), QTest::qFindTestData(), QQmlJS::Dom::DomItem::refreshed(), QQmlJS::Dom::DomItem::subOwnerItem(), and QQmlJS::Dom::updateEntry().

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

◆ getDevice()

static QByteArray getDevice ( const QString rootPath)
inlinestatic

Definition at line 62 of file qstorageinfo_win.cpp.

References QString::fromWCharArray(), QString::toLatin1(), QDir::toNativeSeparators(), and QString::toUtf8().

+ Here is the call graph for this function:

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( Helper  ,
gNtdllHelper   
)

Variable Documentation

◆ defaultBufferSize

const int defaultBufferSize = MAX_PATH + 1
static

Definition at line 20 of file qstorageinfo_win.cpp.

◆ name

const char* name
Initial value:
{
QFunctionPointer symbolFunctionPointer = ntdll->resolve(name)
GLuint name

Definition at line 217 of file qstorageinfo_win.cpp.