Changeset View
Changeset View
Standalone View
Standalone View
internal_client.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 32 | public: | |||
---|---|---|---|---|---|
85 | 85 | | |||
86 | void present(const QSharedPointer<QOpenGLFramebufferObject> fbo); | 86 | void present(const QSharedPointer<QOpenGLFramebufferObject> fbo); | ||
87 | void present(const QImage &image, const QRegion &damage); | 87 | void present(const QImage &image, const QRegion &damage); | ||
88 | QWindow *internalWindow() const; | 88 | QWindow *internalWindow() const; | ||
89 | 89 | | |||
90 | protected: | 90 | protected: | ||
91 | bool acceptsFocus() const override; | 91 | bool acceptsFocus() const override; | ||
92 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | 92 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | ||
93 | void destroyDecoration() override; | | |||
94 | void doMove(int x, int y) override; | 93 | void doMove(int x, int y) override; | ||
95 | void doResizeSync() override; | 94 | void doResizeSync() override; | ||
96 | void updateCaption() override; | 95 | void updateCaption() override; | ||
97 | 96 | | |||
98 | private: | 97 | private: | ||
99 | void createDecoration(const QRect &rect); | | |||
100 | void requestGeometry(const QRect &rect); | 98 | void requestGeometry(const QRect &rect); | ||
101 | void commitGeometry(const QRect &rect); | 99 | void commitGeometry(const QRect &rect); | ||
102 | void setCaption(const QString &caption); | 100 | void setCaption(const QString &caption); | ||
103 | void markAsMapped(); | 101 | void markAsMapped(); | ||
104 | void syncGeometryToInternalWindow(); | 102 | void syncGeometryToInternalWindow(); | ||
105 | void updateInternalWindowGeometry(); | 103 | void updateInternalWindowGeometry(); | ||
106 | 104 | | |||
107 | QWindow *m_internalWindow = nullptr; | 105 | QWindow *m_internalWindow = nullptr; | ||
Show All 13 Lines |