SineStriker
2025-03-03 0aada6f97675200605951719f6629a0226cae0b8
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
27
28
29
30
31
// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware)
// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao)
// SPDX-License-Identifier: Apache-2.0
 
#ifndef WINDOWBUTTONPRIVATE_H
#define WINDOWBUTTONPRIVATE_H
 
#include "windowbutton.h"
 
namespace QWK {
 
    class WindowButtonPrivate {
        Q_DECLARE_PUBLIC(WindowButton)
    public:
        WindowButtonPrivate();
        virtual ~WindowButtonPrivate();
 
        void init();
 
        WindowButton *q_ptr;
 
        QIcon iconNormal;
        QIcon iconChecked;
        QIcon iconDisabled;
 
        void reloadIcon();
    };
 
}
 
#endif // WINDOWBUTTONPRIVATE_H