#include "qplatformdefs.h"
#include "qdir.h"
#include "qdir_p.h"
#include "qabstractfileengine.h"
#include "qdebug.h"
#include "qdiriterator.h"
#include "qfsfileengine.h"
#include "qdatetime.h"
#include "qstring.h"
#include "qregexp.h"
#include "qvector.h"
#include "qalgorithms.h"
#include "qvarlengtharray.h"
#include "qfilesystementry_p.h"
#include "qfilesystemmetadata_p.h"
#include "qfilesystemengine_p.h"
#include <qstringbuilder.h>
#include <stdlib.h>
Go to the source code of this file.
◆ driveSpec()
Definition at line 71 of file qdir.cpp.
Referenced by QDir::relativeFilePath().
73 #if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN) 77 if (c < 'a' && c >
'z' && c < 'A' && c >
'Z')
81 return path.
mid(0, 2);
const QChar at(int i) const
Returns the character at the given index position in the string.
The QString class provides a Unicode character string.
int size() const
Returns the number of characters in this string.
char toAscii() const
Returns the character value of the QChar obtained using the current codec used to read C strings...
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
◆ operator<<() [1/3]
Definition at line 2476 of file qdir.cpp.
Referenced by QDir::temp().
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QStringList class provides a list of strings.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
QString join(const QString &sep) const
Joins all the string list's strings into a single string with each element separated by the given sep...
static const char *const filters[3]
#define qPrintable(string)
◆ operator<<() [2/3]
static QDebug operator<< |
( |
QDebug |
debug, |
|
|
QDir::SortFlags |
sorting |
|
) |
| |
|
static |
Definition at line 2503 of file qdir.cpp.
2506 debug <<
"QDir::SortFlags(NoSort)";
2520 debug <<
"QDir::SortFlags(" <<
qPrintable(type)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
The QStringList class provides a list of strings.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
QString join(const QString &sep) const
Joins all the string list's strings into a single string with each element separated by the given sep...
#define qPrintable(string)
◆ operator<<() [3/3]
Definition at line 2527 of file qdir.cpp.
2530 <<
", nameFilters = {" 2537 return debug.
space();
SortFlags sorting() const
Returns the value set by setSorting()
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QStringList nameFilters() const
Returns the string list set by setNameFilters()
QDebug & maybeSpace()
Writes a space character to the debug stream, depending on the last character sent to the stream...
QString join(const QString &sep) const
Joins all the string list's strings into a single string with each element separated by the given sep...
Filters filter() const
Returns the value set by setFilter()
QString path() const
Returns the path.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
#define qPrintable(string)