34 QDesktopUnixServices();
35 ~QDesktopUnixServices();
37 QByteArray desktopEnvironment()
const override;
39 bool hasCapability(Capability capability)
const override;
40 bool openUrl(
const QUrl &url) override;
41 bool openDocument(
const QUrl &url) override;
42 QPlatformServiceColorPicker *colorPicker(QWindow *parent =
nullptr) override;
44 void setApplicationBadge(qint64 number);
45 virtual QString portalWindowIdentifier(QWindow *window);
47 virtual void registerDBusMenuForWindow(QWindow *window,
const QString &service,
const QString &path);
48 virtual void unregisterDBusMenuForWindow(QWindow *window);
52 QString m_documentLauncher;
54 QPointer<QDBusPendingCallWatcher> m_watcher =
nullptr;
55 std::unique_ptr<QDBusServiceWatcher> m_portalWatcher;
57 bool m_hasScreenshotPortalWithColorPicking =
false;