mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00

This reverts commit a5b044e58532f7bb3106730cae53329258cec2dc. because QIcon used with multithread are not safe Change-Id: I1502a23358b7b2f90d164f36861870f6c9df280c
17 lines
299 B
C++
17 lines
299 B
C++
#ifndef THEMEAPPICON_H
|
|
#define THEMEAPPICON_H
|
|
|
|
#include <QObject>
|
|
|
|
class ThemeAppIcon : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ThemeAppIcon(QObject *parent = 0);
|
|
~ThemeAppIcon();
|
|
|
|
static const QPixmap getIcon(const QString iconName, const int size);
|
|
};
|
|
|
|
#endif // THEMEAPPICON_H
|