| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
#ifndef DWAYLANDINTEGRATION_H |
| 6 |
#define DWAYLANDINTEGRATION_H |
| 7 |
|
| 8 |
#include "global.h" |
| 9 |
#include "QtWaylandClient/private/qwaylandintegration_p.h" |
| 10 |
|
| 11 |
DPP_BEGIN_NAMESPACE |
| 12 |
|
| 13 |
class DWaylandIntegration : public QtWaylandClient::QWaylandIntegration |
| 14 |
{ |
| 15 |
DWaylandIntegration(); |
| 16 |
public: |
| 17 |
static DWaylandIntegration *instance() { |
| 18 |
static DWaylandIntegration *integration = new DWaylandIntegration; |
| 19 |
return integration; |
| 20 |
} |
| 21 |
|
| 22 |
void initialize() override; |
| 23 |
QStringList themeNames() const override; |
| 24 |
QVariant styleHint(StyleHint hint) const override; |
| 25 |
|
| 26 |
#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0) |
| 27 |
void setPrimaryScreen(QPlatformScreen *newPrimary); |
| 28 |
#endif |
| 29 |
}; |
| 30 |
|
| 31 |
DPP_END_NAMESPACE |
| 32 |
|
| 33 |
#endif |