SineStriker
2023-12-20 3871bfc5d3aff45e498fa2944c27e6eb5d146c8e
src/core/windowagentbase.h
@@ -5,7 +5,7 @@
#include <QtCore/QObject>
#include <QWKCore/qwkcoreglobal.h>
#include <QWKCore/qwkglobal.h>
namespace QWK {
@@ -28,13 +28,20 @@
        };
        Q_ENUM(SystemButton)
        QVariant windowAttribute(const QString &key) const;
        void setWindowAttribute(const QString &key, const QVariant &var);
        bool isEnabled() const;
        void setEnabled(bool enabled);
    public Q_SLOTS:
        void showSystemMenu(const QPoint &pos);
        void startSystemMove(const QPoint &pos);
        void startSystemResize(Qt::Edges edges, const QPoint &pos);
        void centralize();
        void raise();
    Q_SIGNALS:
        void enabledChanged(bool enabled);
    protected:
        explicit WindowAgentBase(WindowAgentBasePrivate &d, QObject *parent = nullptr);