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
qfileiconprovider.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QFILEICONPROVIDER_H
5
#define QFILEICONPROVIDER_H
6
7
#include <QtWidgets/qtwidgetsglobal.h>
8
#include <QtCore/qfileinfo.h>
9
#include <QtCore/qscopedpointer.h>
10
#include <QtGui/qicon.h>
11
#include <QtGui/qabstractfileiconprovider.h>
12
13
QT_BEGIN_NAMESPACE
14
15
16
class
QFileIconProviderPrivate
;
17
18
class
Q_WIDGETS_EXPORT
QFileIconProvider
:
public
QAbstractFileIconProvider
19
{
20
public
:
21
QFileIconProvider
();
22
~QFileIconProvider
();
23
24
QIcon
icon
(
IconType
type
)
const override
;
25
QIcon
icon
(
const
QFileInfo
&
info
)
const override
;
26
27
private
:
28
Q_DECLARE_PRIVATE(
QFileIconProvider
)
29
Q_DISABLE_COPY(
QFileIconProvider
)
30
};
31
32
QT_END_NAMESPACE
33
34
#endif
// QFILEICONPROVIDER_H
QAbstractFileIconProvider
\inmodule QtGui
Definition
qabstractfileiconprovider.h:17
QAbstractFileIconProvider::IconType
IconType
\value Computer The icon used for the computing device as a whole \value Desktop The icon for the spe...
Definition
qabstractfileiconprovider.h:19
QFileIconProviderPrivate
Definition
qfileiconprovider_p.h:31
QFileIconProvider
\inmodule QtWidgets
Definition
qfileiconprovider.h:19
QFileIconProvider::~QFileIconProvider
~QFileIconProvider()
Destroys the file icon provider.
QFileInfo
Definition
qfileinfo.h:23
QIcon
The QIcon class provides scalable icons in different modes and states.
Definition
qicon.h:20
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
type
GLenum type
Definition
qopengles2ext.h:150
icon
QIcon icon
[15]
Definition
src_corelib_global_qglobal.cpp:144
info
QHostInfo info
[0]
Definition
src_network_kernel_qhostinfo.cpp:14
qtbase
src
widgets
itemviews
qfileiconprovider.h
Generated by
1.10.0