10#include <private/qfunctions_p.h>
11#include <private/qguiapplication_p.h>
12#include <private/qicon_p.h>
13#include <private/qfilesystementry_p.h>
14#include <qpa/qplatformintegration.h>
15#include <qpa/qplatformservices.h>
16#include <qpa/qplatformtheme.h>
55 if (directoryLink.
isNull())
158#if defined (Q_OS_WIN)
160 UINT
type = GetDriveType(
reinterpret_cast<const wchar_t *
>(
path.utf16()));
163 case DRIVE_REMOVABLE:
173 case DRIVE_NO_ROOT_DIR:
QIcon getPlatformThemeIcon(QAbstractFileIconProvider::IconType type) const
IconType
\value Computer The icon used for the computing device as a whole \value Desktop The icon for the spe...
static QStyle * style()
Returns the application's style object.
QFileIconProviderPrivate(QFileIconProvider *q)
QIcon getIcon(QStyle::StandardPixmap name) const
~QFileIconProvider()
Destroys the file icon provider.
QFileIconProvider()
Constructs a file icon provider.
QIcon icon(IconType type) const override
\reimp
\inmodule QtCore \reentrant
bool isSymLink() const
Returns true if this object points to a symbolic link, shortcut, or alias; otherwise returns false.
QString absoluteFilePath() const
Returns an absolute path including the file name.
bool isFile() const
Returns true if this object points to a file or to a symbolic link to a file.
bool isDir() const
Returns true if this object points to a directory or to a symbolic link to a directory.
static Q_CORE_EXPORT bool isRootPath(const QString &path)
The QIcon class provides scalable icons in different modes and states.
bool isNull() const
Returns true if the icon is empty; otherwise returns false.
\macro QT_RESTRICTED_CAST_FROM_ASCII
virtual QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const =0
StandardPixmap
This enum describes the available standard pixmaps.
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble q
GLsizei const GLchar *const * path
static QString absolutePath(const QString &path)
QFileInfo info(fileName)
[8]
QFileInfo fi("c:/temp/foo")
[newstuff]