| | |
| | | Q_OBJECT |
| | | Q_DECLARE_PRIVATE(CoreWindowAgent) |
| | | public: |
| | | ~CoreWindowAgent(); |
| | | ~CoreWindowAgent() override; |
| | | |
| | | enum SystemButton { |
| | | Unknown, |
| | |
| | | Close, |
| | | NumSystemButton, |
| | | }; |
| | | Q_ENUM(SystemButton) |
| | | |
| | | public Q_SLOTS: |
| | | void showSystemMenu(const QPoint &pos); |
| | |
| | | void raise(); |
| | | |
| | | protected: |
| | | CoreWindowAgent(CoreWindowAgentPrivate &d, QObject *parent = nullptr); |
| | | explicit CoreWindowAgent(CoreWindowAgentPrivate &d, QObject *parent = nullptr); |
| | | |
| | | QScopedPointer<CoreWindowAgentPrivate> d_ptr; |
| | | const std::unique_ptr<CoreWindowAgentPrivate> d_ptr; |
| | | }; |
| | | |
| | | } |