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
QFileIconProviderPrivate Class Reference

#include <qfileiconprovider_p.h>

+ Inheritance diagram for QFileIconProviderPrivate:
+ Collaboration diagram for QFileIconProviderPrivate:

Public Member Functions

 QFileIconProviderPrivate (QFileIconProvider *q)
 
QIcon getIcon (QStyle::StandardPixmap name) const
 
QIcon getIcon (const QFileInfo &fi) const
 
- Public Member Functions inherited from QAbstractFileIconProviderPrivate
 QAbstractFileIconProviderPrivate (QAbstractFileIconProvider *q)
 
virtual ~QAbstractFileIconProviderPrivate ()
 
QIcon getPlatformThemeIcon (QAbstractFileIconProvider::IconType type) const
 
QIcon getIconThemeIcon (QAbstractFileIconProvider::IconType type) const
 
QIcon getPlatformThemeIcon (const QFileInfo &info) const
 
QIcon getIconThemeIcon (const QFileInfo &info) const
 

Public Attributes

const QString homePath
 
- Public Attributes inherited from QAbstractFileIconProviderPrivate
QAbstractFileIconProviderq_ptr = nullptr
 
QAbstractFileIconProvider::Options options = {}
 

Additional Inherited Members

- Static Public Member Functions inherited from QAbstractFileIconProviderPrivate
static void clearIconTypeCache ()
 
static QString getFileType (const QFileInfo &info)
 

Detailed Description

Definition at line 30 of file qfileiconprovider_p.h.

Constructor & Destructor Documentation

◆ QFileIconProviderPrivate()

QFileIconProviderPrivate::QFileIconProviderPrivate ( QFileIconProvider * q)

Definition at line 34 of file qfileiconprovider.cpp.

Member Function Documentation

◆ getIcon() [1/2]

QIcon QFileIconProviderPrivate::getIcon ( const QFileInfo & fi) const

Definition at line 139 of file qfileiconprovider.cpp.

References QAbstractFileIconProviderPrivate::getPlatformThemeIcon().

+ Here is the call graph for this function:

◆ getIcon() [2/2]

QIcon QFileIconProviderPrivate::getIcon ( QStyle::StandardPixmap name) const

Definition at line 39 of file qfileiconprovider.cpp.

References QIcon::isNull(), QStyle::SP_ComputerIcon, QStyle::SP_DesktopIcon, QStyle::SP_DirHomeIcon, QStyle::SP_DirIcon, QStyle::SP_DirLinkIcon, QStyle::SP_DriveCDIcon, QStyle::SP_DriveFDIcon, QStyle::SP_DriveHDIcon, QStyle::SP_DriveNetIcon, QStyle::SP_FileIcon, QStyle::SP_FileLinkIcon, QStyle::SP_TrashIcon, and QApplication::style().

+ Here is the call graph for this function:

Member Data Documentation

◆ homePath

const QString QFileIconProviderPrivate::homePath

Definition at line 39 of file qfileiconprovider_p.h.


The documentation for this class was generated from the following files: