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_win.cpp File Reference

(6e21d1d21a38a01eedf5f91b90d44709099e8a90)

#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(), QQmlJS::Dom::RefCacheEntry::forPath(), QmlDirectoryFileEntryFunction::operator()(), pythonRoot(), QTest::qFindTestData(), QQmlJS::Dom::DomItem::refreshed(), and QQmlJS::Dom::DomItem::subOwnerItem().

+ 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(), QByteArray(), and QDir::toNativeSeparators().

+ 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.