DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dfileiconprovider.h
1
// SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DFILEICONPROVIDER_H
6
#define DFILEICONPROVIDER_H
7
8
#include <DObject>
9
#include <dtkwidget_global.h>
10
11
#include <QFileIconProvider>
12
13
DWIDGET_BEGIN_NAMESPACE
14
15
class
DFileIconProviderPrivate;
16
class
DFileIconProvider
:
public
QFileIconProvider,
public
DTK_CORE_NAMESPACE::DObject
17
{
18
public
:
19
DFileIconProvider
();
20
virtual
~DFileIconProvider
() Q_DECL_OVERRIDE;
21
22
static
DFileIconProvider
*globalProvider();
23
24
QIcon icon(
const
QFileInfo &info)
const
Q_DECL_OVERRIDE;
25
QIcon icon(
const
QFileInfo &info,
const
QIcon &feedback)
const
;
26
27
private
:
28
D_DECLARE_PRIVATE(
DFileIconProvider
)
29
Q_DISABLE_COPY(
DFileIconProvider
)
30
};
31
32
DWIDGET_END_NAMESPACE
33
34
#endif
// DFILEICONPROVIDER_H
Dtk::Widget::DFileIconProvider
Definition
dfileiconprovider.h:17
include
util
dfileiconprovider.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享