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

#include <qabstractfileiconprovider_p.h>

+ Inheritance diagram for QAbstractFileIconProviderPrivate:
+ Collaboration diagram for QAbstractFileIconProviderPrivate:

Public Member Functions

 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
 

Static Public Member Functions

static void clearIconTypeCache ()
 
static QString getFileType (const QFileInfo &info)
 

Public Attributes

QAbstractFileIconProviderq_ptr = nullptr
 
QAbstractFileIconProvider::Options options = {}
 

Detailed Description

Definition at line 26 of file qabstractfileiconprovider_p.h.

Constructor & Destructor Documentation

◆ QAbstractFileIconProviderPrivate()

QAbstractFileIconProviderPrivate::QAbstractFileIconProviderPrivate ( QAbstractFileIconProvider * q)

Definition at line 22 of file qabstractfileiconprovider.cpp.

◆ ~QAbstractFileIconProviderPrivate()

QAbstractFileIconProviderPrivate::~QAbstractFileIconProviderPrivate ( )
virtualdefault

Member Function Documentation

◆ clearIconTypeCache()

void QAbstractFileIconProviderPrivate::clearIconTypeCache ( )
static

Definition at line 31 of file qabstractfileiconprovider.cpp.

Referenced by QGuiApplicationPrivate::handleThemeChanged().

+ Here is the caller graph for this function:

◆ getFileType()

QString QAbstractFileIconProviderPrivate::getFileType ( const QFileInfo & info)
static

Definition at line 233 of file qabstractfileiconprovider.cpp.

References info, QFileSystemEntry::isRootPath(), mimeType, QMimeDatabase::mimeTypeForFile(), and QCoreApplication::translate().

Referenced by QFileInfoGatherer::getInfo(), and QAbstractFileIconProvider::type().

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

◆ getIconThemeIcon() [1/2]

QIcon QAbstractFileIconProviderPrivate::getIconThemeIcon ( const QFileInfo & info) const

Definition at line 116 of file qabstractfileiconprovider.cpp.

References QAbstractFileIconProvider::Drive, QAbstractFileIconProvider::Folder, QIcon::fromTheme(), getIconThemeIcon(), and info.

+ Here is the call graph for this function:

◆ getIconThemeIcon() [2/2]

QIcon QAbstractFileIconProviderPrivate::getIconThemeIcon ( QAbstractFileIconProvider::IconType type) const

Definition at line 79 of file qabstractfileiconprovider.cpp.

References QAbstractFileIconProvider::Computer, QAbstractFileIconProvider::Desktop, QAbstractFileIconProvider::Drive, QAbstractFileIconProvider::File, QAbstractFileIconProvider::Folder, QIcon::fromTheme(), QAbstractFileIconProvider::Network, and QAbstractFileIconProvider::Trashcan.

Referenced by getIconThemeIcon().

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

◆ getPlatformThemeIcon() [1/2]

QIcon QAbstractFileIconProviderPrivate::getPlatformThemeIcon ( const QFileInfo & info) const

Definition at line 109 of file qabstractfileiconprovider.cpp.

References info, options, QGuiApplicationPrivate::platformTheme(), and toThemeIconOptions().

+ Here is the call graph for this function:

◆ getPlatformThemeIcon() [2/2]

QIcon QAbstractFileIconProviderPrivate::getPlatformThemeIcon ( QAbstractFileIconProvider::IconType type) const

Member Data Documentation

◆ options

QAbstractFileIconProvider::Options QAbstractFileIconProviderPrivate::options = {}

Definition at line 43 of file qabstractfileiconprovider_p.h.

Referenced by getPlatformThemeIcon().

◆ q_ptr

QAbstractFileIconProvider* QAbstractFileIconProviderPrivate::q_ptr = nullptr

Definition at line 42 of file qabstractfileiconprovider_p.h.


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