Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfileiconprovider_p.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QFILEICONPROVIDER_P_H
6
#
define
QFILEICONPROVIDER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtWidgets
/
private
/
qtwidgetsglobal_p
.
h
>
20
#
include
"qfileiconprovider.h"
21
22
#
include
<
private
/
qabstractfileiconprovider_p
.
h
>
23
#
include
<
QtCore
/
qstring
.
h
>
24
#
include
<
QtGui
/
qicon
.
h
>
25
#
include
<
QtWidgets
/
qstyle
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QFileInfo;
30
31
class
QFileIconProviderPrivate
:
public
QAbstractFileIconProviderPrivate
32
{
33
Q_DECLARE_PUBLIC(QFileIconProvider)
34
35
public
:
36
QFileIconProviderPrivate
(
QFileIconProvider
*
q
);
37
QIcon
getIcon
(QStyle::StandardPixmap name)
const
;
38
QIcon
getIcon
(
const
QFileInfo &fi)
const
;
39
40
const
QString
homePath
;
41
42
private
:
43
mutable
QIcon file;
44
mutable
QIcon fileLink;
45
mutable
QIcon directory;
46
mutable
QIcon directoryLink;
47
mutable
QIcon harddisk;
48
mutable
QIcon floppy;
49
mutable
QIcon cdrom;
50
mutable
QIcon ram;
51
mutable
QIcon network;
52
mutable
QIcon computer;
53
mutable
QIcon desktop;
54
mutable
QIcon trashcan;
55
mutable
QIcon generic;
56
mutable
QIcon home;
57
};
58
59
QT_END_NAMESPACE
60
61
#
endif
// QFILEICONPROVIDER_P_H
QFileIconProviderPrivate
Definition
qfileiconprovider_p.h:32
QFileIconProviderPrivate::homePath
const QString homePath
Definition
qfileiconprovider_p.h:40
QFileIconProviderPrivate::getIcon
QIcon getIcon(QStyle::StandardPixmap name) const
Definition
qfileiconprovider.cpp:40
QFileIconProviderPrivate::getIcon
QIcon getIcon(const QFileInfo &fi) const
Definition
qfileiconprovider.cpp:140
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtbase
src
widgets
itemviews
qfileiconprovider_p.h
Generated on
for Qt by
1.14.0