SineStriker
2023-12-01 0640f7a902a3489332627ce93aa61c0dc25087b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef WINDOWITEMDELEGATE_H
#define WINDOWITEMDELEGATE_H
 
#include <QtCore/QObject>
#include <QtGui/QWindow>
 
#include <QWKCore/qwkcoreglobal.h>
 
namespace QWK {
 
    class WindowItemDelegate {
    public:
        virtual ~WindowItemDelegate() = default;
 
    public:
        virtual QWindow *window(QObject *obj) const = 0;
 
        virtual bool isEnabled(QObject *obj) const = 0;
        virtual bool isVisible(QObject *obj) const = 0;
    };
 
}
 
#endif // WINDOWITEMDELEGATE_H