Settings Tab: replaced Tab IDs by a QML enum
This commit is contained in:
parent
71433c7807
commit
2a7810c17c
9 changed files with 36 additions and 42 deletions
|
|
@ -4,7 +4,7 @@ import qs.Modules.Lockscreen
|
|||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
|
||||
// Reference to the lockscreen component
|
||||
property var lockscreen: null
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,21 @@ pragma Singleton
|
|||
Singleton {
|
||||
id: root
|
||||
|
||||
// Our tabs used in the UI, needs to be defined in a Singleton so they can be accessed anywhere
|
||||
enum Tab {
|
||||
General,
|
||||
Bar,
|
||||
TimeWeather,
|
||||
ScreenRecorder,
|
||||
Network,
|
||||
Audio,
|
||||
Display,
|
||||
Wallpaper,
|
||||
WallpaperSelector,
|
||||
//Misc,
|
||||
About
|
||||
}
|
||||
|
||||
// Define our app directories
|
||||
// Default config directory: ~/.config/noctalia
|
||||
// Default cache directory: ~/.cache/noctalia
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue