diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-15 23:09:06 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-15 23:09:06 +0200 |
commit | afcfe0ca21e0102591378af1a3eac71937bd271c (patch) | |
tree | cdd18c174b08260db9ec04ca565a3bb05ef270ce /src/autogen/applicationstyle.h | |
parent | Move src/webengine to lib/webengine (diff) | |
download | smolbote-afcfe0ca21e0102591378af1a3eac71937bd271c.tar.xz |
webengine: remove dependency on autogen/utilsdevel
Diffstat (limited to 'src/autogen/applicationstyle.h')
-rw-r--r-- | src/autogen/applicationstyle.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/autogen/applicationstyle.h b/src/autogen/applicationstyle.h new file mode 100644 index 0000000..f9bf1bd --- /dev/null +++ b/src/autogen/applicationstyle.h @@ -0,0 +1,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
\ No newline at end of file |