aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/getPage.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-24 21:25:10 -0400
committerKen Moore <moorekou@gmail.com>2016-06-24 21:25:10 -0400
commit751e3203f7285e68f9c307c6d1ddac6414367db8 (patch)
treee11bbfeed68854ede0701d0e2b11c5dedc6ffcaf /src-qt5/core-utils/lumina-config/pages/getPage.h
parentGet the new "wallpaper" page all setup and functional, as well as finish test... (diff)
downloadlumina-751e3203f7285e68f9c307c6d1ddac6414367db8.tar.gz
lumina-751e3203f7285e68f9c307c6d1ddac6414367db8.tar.bz2
lumina-751e3203f7285e68f9c307c6d1ddac6414367db8.zip
Get the new theme page all setup and functional.
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages/getPage.h')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/getPage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/getPage.h b/src-qt5/core-utils/lumina-config/pages/getPage.h
index cecc3d87..8d3feb0f 100644
--- a/src-qt5/core-utils/lumina-config/pages/getPage.h
+++ b/src-qt5/core-utils/lumina-config/pages/getPage.h
@@ -27,16 +27,19 @@ static QList<PAGEINFO> KnownPages(){
QList<PAGEINFO> list;
//Reminder: <ID>, <name>, <title>, <icon>, <comment>, <category>, <server subsytem list>, <search tags>
list << PageInfo("wallpaper", QObject::tr("Change Wallpaper"), QObject::tr("Wallpaper Settings"), "preferences-desktop-wallpaper",QObject::tr("Change background image(s)"), "appearance", QStringList(), QStringList() << "background" << "wallpaper" << "color" << "theme");
+ list << PageInfo("theme", QObject::tr("Change Desktop Theme"), QObject::tr("Theme Settings"), "preferences-desktop-color",QObject::tr("Change interface fonts and colors"), "appearance", QStringList(), QStringList() << "background" << "interface" << "color" << "theme" << "plugins");
return list;
}
//Add any sub-pages here
#include "page_main.h"
#include "page_wallpaper.h"
+#include "page_theme.h"
static PageWidget* GetNewPage(QString id, QWidget *parent){
//Find the page that matches this "id"
if(id=="wallpaper"){ return new page_wallpaper(parent); }
+ else if(id=="theme"){ return new page_theme(parent); }
//Return the main control_panel page as the fallback/default
return new page_main(parent);
}
bgstack15