Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qabstractfileiconprovider_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
QABSTRACTFILEICONPROVIDER_P_H
6
#
define
QABSTRACTFILEICONPROVIDER_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
<
QtGui
/
private
/
qtguiglobal_p
.
h
>
20
#
if
QT_CONFIG
(
mimetype
)
21
#
include
<
QtCore
/
QMimeDatabase
>
22
#
endif
23
#
include
"qabstractfileiconprovider.h"
24
25
QT_BEGIN_NAMESPACE
26
27
class
Q_GUI_EXPORT QAbstractFileIconProviderPrivate
28
{
29
Q_DECLARE_PUBLIC(QAbstractFileIconProvider)
30
31
public
:
32
QAbstractFileIconProviderPrivate(QAbstractFileIconProvider *q);
33
virtual
~QAbstractFileIconProviderPrivate();
34
35
QIcon getPlatformThemeIcon(QAbstractFileIconProvider::IconType type)
const
;
36
QIcon getIconThemeIcon(QAbstractFileIconProvider::IconType type)
const
;
37
QIcon getPlatformThemeIcon(
const
QFileInfo &info)
const
;
38
QIcon getIconThemeIcon(
const
QFileInfo &info)
const
;
39
40
static
void
clearIconTypeCache();
41
static
QString getFileType(
const
QFileInfo &info);
42
43
QAbstractFileIconProvider *q_ptr =
nullptr
;
44
QAbstractFileIconProvider::Options options = {};
45
46
#
if
QT_CONFIG
(
mimetype
)
47
QMimeDatabase mimeDatabase;
48
#
endif
49
};
50
51
QT_END_NAMESPACE
52
53
#
endif
// QABSTRACTFILEICONPROVIDER_P_H
qtbase
src
gui
image
qabstractfileiconprovider_p.h
Generated on
for Qt by
1.18.0