Skip to content

Update ThemesModel.hpp - #1

Open
mohammedmk3900-rgb wants to merge 1 commit into
TomPecak:mainfrom
mohammedmk3900-rgb:patch-1
Open

Update ThemesModel.hpp#1
mohammedmk3900-rgb wants to merge 1 commit into
TomPecak:mainfrom
mohammedmk3900-rgb:patch-1

Conversation

@mohammedmk3900-rgb

Copy link
Copy Markdown

Why was "ThemesModel.hpp" changed?

Updated "ThemesModel.hpp" to improve theme state management and make the model easier to use from QML.

Changes include:

  • Added "activeThemeId" to expose the currently active theme.
  • Added "activeThemeChanged" to notify QML when the active theme changes.
  • Added "setActiveTheme()" as a QML-invokable method.
  • Improved the model structure for future theme/frontend switching support.

These changes are intended to provide a cleaner foundation for connecting the theme selector with Maia Shell's frontend switching system.

@mohammedmk3900-rgb
mohammedmk3900-rgb marked this pull request as draft September 2, 2026 19:25
@mohammedmk3900-rgb
mohammedmk3900-rgb marked this pull request as ready for review September 2, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant