aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config
diff options
context:
space:
mode:
authorq5sys <jt@xsystems.com>2017-10-31 15:21:19 -0400
committerq5sys <jt@xsystems.com>2017-10-31 15:21:19 -0400
commitf16be4917ead3ccceb9debafa91272b6786dd731 (patch)
tree4163ef6454e73659c49557301be6cfbc197638d4 /src-qt5/core-utils/lumina-config
parentadd bool to battery sound alert (diff)
downloadlumina-f16be4917ead3ccceb9debafa91272b6786dd731.tar.gz
lumina-f16be4917ead3ccceb9debafa91272b6786dd731.tar.bz2
lumina-f16be4917ead3ccceb9debafa91272b6786dd731.zip
finish and enable sound theme page for lumina-config
Diffstat (limited to 'src-qt5/core-utils/lumina-config')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/getPage.cpp4
-rw-r--r--src-qt5/core-utils/lumina-config/pages/pages.pri8
2 files changed, 7 insertions, 5 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/getPage.cpp b/src-qt5/core-utils/lumina-config/pages/getPage.cpp
index 7274ae3f..c3f88e2c 100644
--- a/src-qt5/core-utils/lumina-config/pages/getPage.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/getPage.cpp
@@ -20,6 +20,7 @@
#include "page_session_locale.h"
#include "page_session_options.h"
#include "page_compton.h"
+#include "page_soundtheme.h"
// #include "page_mouse_trueos.h"
// #include "page_bluetooth_trueos.h"
@@ -51,6 +52,7 @@ QList<PAGEINFO> Pages::KnownPages(){
list << Pages::PageInfo("interface-menu", QObject::tr("Menu"), QObject::tr("Menu Plugins"), "format-list-unordered",QObject::tr("Change what options are shown on the desktop context menu"), "interface", QStringList(), QStringList() << "desktop" << "menu" << "plugins" << "shortcuts");
list << Pages::PageInfo("session-locale", QObject::tr("Localization"), QObject::tr("Locale Settings"), "preferences-desktop-locale",QObject::tr("Change the default locale settings for this user"), "user", QStringList(), QStringList() << "user"<<"locale"<<"language"<<"translations");
list << Pages::PageInfo("session-options", QObject::tr("General Options"), QObject::tr("User Settings"), "configure",QObject::tr("Change basic user settings such as time/date formats"), "user", QStringList(), QStringList() << "user"<<"settings"<<"time"<<"date"<<"icon"<<"reset"<<"numlock"<<"clock");
+ list << Pages::PageInfo("soundtheme", QObject::tr("Sound Themeing"), QObject::tr("Theme"), "media-playlist-audio",QObject::tr("Change basic sound settings"), "session", QStringList(), QStringList() << "session"<<"settings"<<"sound"<<"theme");
// list << Pages::PageInfo("mouse-settings", QObject::tr("TrueOS Mouse Settings"), QObject::tr("TrueOS Mouse Settings"), "preferences-desktop-mouse",QObject::tr("Adjust mouse devices"), "user", QStringList(), QStringList() << "user"<<"speed"<<"accel"<<"mouse");
// list << Pages::PageInfo("bluetooth-settings", QObject::tr("TrueOS Bluetooth Settings"), QObject::tr("TrueOS Bluetooth Settings"), "preferences-desktop-bluetooth",QObject::tr("Setup Bluetooth devices"), "user", QStringList(), QStringList() << "user"<<"bluetooth"<<"audio");
@@ -72,7 +74,7 @@ PageWidget* Pages::GetNewPage(QString id, QWidget *parent){
else if(id=="session-locale"){ page = new page_session_locale(parent); }
else if(id=="session-options"){ page = new page_session_options(parent); }
else if(id=="compton"){ page = new page_compton(parent); }
-
+ else if(id=="soundtheme"){ page = new page_soundtheme(parent); }
// else if(id=="mouse-settings"){ page = new page_mouse_trueos(parent); }
// else if(id=="bluetooth-settings"){ page = new page_bluetooth_trueos(parent); }
//Return the main control_panel page as the fallback/default
diff --git a/src-qt5/core-utils/lumina-config/pages/pages.pri b/src-qt5/core-utils/lumina-config/pages/pages.pri
index a2022367..585a2922 100644
--- a/src-qt5/core-utils/lumina-config/pages/pages.pri
+++ b/src-qt5/core-utils/lumina-config/pages/pages.pri
@@ -14,8 +14,8 @@ HEADERS += $${PWD}/getPage.h \
$${PWD}/page_session_locale.h \
$${PWD}/page_session_options.h \
$${PWD}/page_compton.h \
- $$PWD/page_soundtheme.h
-# $${PWD}/page_bluetooth_trueos.h
+ $$PWD/page_soundtheme.h
+# $${PWD}/page_bluetooth_trueos.h
# $${PWD}/page_mouse_trueos.h
@@ -33,7 +33,7 @@ SOURCES += $${PWD}/getPage.cpp \
$${PWD}/page_session_locale.cpp \
$${PWD}/page_session_options.cpp \
$${PWD}/page_compton.cpp \
- $$PWD/page_soundtheme.cpp
+ $$PWD/page_soundtheme.cpp
# $${PWD}/page_bluetooth_trueos.cpp
# $${PWD}/page_mouse_trueos.cpp
@@ -52,6 +52,6 @@ FORMS += $${PWD}/page_main.ui \
$${PWD}/page_session_locale.ui \
$${PWD}/page_session_options.ui \
$${PWD}/page_compton.ui \
- $$PWD/page_soundtheme.ui
+ $$PWD/page_soundtheme.ui
# $${PWD}/page_bluetooth_trueos.ui
# $${PWD}/page_mouse_trueos.ui
bgstack15