Sine Striker
2023-12-02 499afac952920595e6c3d4f94806427f894c7674
src/core/windowitemdelegate.h
@@ -1,6 +1,8 @@
#ifndef WINDOWITEMDELEGATE_H
#define WINDOWITEMDELEGATE_H
#include <memory>
#include <QtCore/QObject>
#include <QtGui/QWindow>
@@ -9,8 +11,6 @@
namespace QWK {
    class WindowItemDelegate {
        Q_DISABLE_COPY(WindowItemDelegate)
    public:
        WindowItemDelegate() = default;
        virtual ~WindowItemDelegate() = default;
@@ -20,9 +20,10 @@
        virtual bool isEnabled(QObject *obj) const = 0;
        virtual bool isVisible(QObject *obj) const = 0;
    };
    using WindowItemDelegatePtr = std::shared_ptr<WindowItemDelegate>;
    private:
        Q_DISABLE_COPY_MOVE(WindowItemDelegate)
    };
}