summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qgnomeportalinterface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CRA review: gui/platform/unix/*Liang Qi2025-09-251-0/+1
| | | | | | | | | | | | | | | | | | The files that we maintain by hand are marked as significant. * QDBus and QSettings are in used very often in most classes. * D-Bus and QSettings are security critical, but the implementation is merely a user, and does not do any parsing or communication on its own. Notes: * dbusmenu and dbustray sub directories in seperate changes. * qdesktopunixservices_p.h as security critical which just follows qdesktopunixservices.cpp in ad98583911a8252e56648cd2efc748b09b3691f3 QUIP: 23 Task-number: QTBUG-134573 Pick-to: 6.10 6.8 Change-Id: I5cdcaedb1f987a86cf7a16c843ebfe7f0e7238c7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* QGnomeTheme, QGtk3Theme: Refactor and Simplify DBus InteractionsMohammadHossein Qanbari2025-05-301-0/+175
This patch refactors the DBus integration in both QGnomeTheme and QGtk3Theme to centralize and simplify the portal and settings access logic. Previously, the codebase contained duplicated and scattered DBus logic for querying GNOME/GTK appearance settings, such as color scheme and contrast, which were implemented separately in both QGnomeTheme and QGtk3Theme. The patch introduces a new QGnomePortalInterface class which encapsulates all DBus interactions related to GNOME/GTK appearance settings. The old DBus interface logic is removed from QGtk3Theme and QGnomeTheme, and replaced with calls to the unified QGnomePortalInterface. The update also ensures signal-based updates for theme and appearance changes via the new interface. Change-Id: I5440f7ac00f956b846b18bd890113af0044482f0 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>