mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
26 lines
618 B
C++
26 lines
618 B
C++
// Copyright (C) 2011 ~ 2018 Deepin Technology Co., Ltd.
|
|
// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#ifndef THEMEAPPICON_H
|
|
#define THEMEAPPICON_H
|
|
|
|
#include <QObject>
|
|
#include <QIcon>
|
|
|
|
class ThemeAppIcon
|
|
{
|
|
public:
|
|
explicit ThemeAppIcon();
|
|
~ThemeAppIcon();
|
|
|
|
static QIcon getIcon(const QString &name);
|
|
static bool getIcon(QPixmap &pix, const QString iconName, const int size, bool reObtain = false);
|
|
|
|
private:
|
|
static bool createCalendarIcon(const QDate &date, const QString &fileName);
|
|
};
|
|
|
|
#endif // THEMEAPPICON_H
|