aboutsummaryrefslogtreecommitdiff
path: root/src/autogen/applicationstyle.h
blob: f9bf1bd5d20f41f64a7bb61c624fa424f8eb4e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is part of smolbote. It's copyrighted by the contributors recorded
 * in the version control history of the file, available from its original
 * location: https://neueland.iserlohn-fortress.net/cgit/smolbote
 *
 * SPDX-License-Identifier: GPL-3.0
 */

#ifndef SMOLBOTE_APPLICATION_STYLE_H
#define SMOLBOTE_APPLICATION_STYLE_H

#include <QProxyStyle>

class ApplicationStyle : public QProxyStyle
{
public:
    ApplicationStyle();
    ~ApplicationStyle() override = default;

    QIcon standardIcon(QStyle::StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget) const override;

    static QIcon applicationIcon();
    static QIcon windowIcon();
};

#endif