aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/getPage.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-27 15:41:10 -0400
committerKen Moore <moorekou@gmail.com>2016-06-27 15:41:10 -0400
commit8e491cc5f4f300738b5c3d29e5067392014953d6 (patch)
tree433a86e267d7f80fdfb0d1fcf869a47400788c19 /src-qt5/core-utils/lumina-config/pages/getPage.h
parentAllow the "save file as" option to always be available (not dependant on chan... (diff)
downloadlumina-8e491cc5f4f300738b5c3d29e5067392014953d6.tar.gz
lumina-8e491cc5f4f300738b5c3d29e5067392014953d6.tar.bz2
lumina-8e491cc5f4f300738b5c3d29e5067392014953d6.zip
Get the default apps page all converted over to the new UI.
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 33b0e77a..47bb276f 100644
--- a/src-qt5/core-utils/lumina-config/pages/getPage.h
+++ b/src-qt5/core-utils/lumina-config/pages/getPage.h
@@ -29,6 +29,7 @@ static QList<PAGEINFO> KnownPages(){
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" << "image");
list << PageInfo("theme", QObject::tr("Change Desktop Theme"), QObject::tr("Theme Settings"), "preferences-desktop-theme",QObject::tr("Change interface fonts and colors"), "appearance", QStringList(), QStringList() << "background" << "interface" << "color" << "theme" << "plugins");
list << PageInfo("autostart", QObject::tr("Startup Services and Applications"), QObject::tr("Startup Settings"), "preferences-system-session-services",QObject::tr("Automatically start applications or services"), "session", QStringList(), QStringList() << "apps" << "autostart" << "services" << "xdg" << "startup" << "session");
+ list << PageInfo("defaultapps", QObject::tr("Default Applications for File Type"), QObject::tr("Mimetype Settings"), "preferences-desktop-filetype-association",QObject::tr("Change default applications"), "apps", QStringList(), QStringList() << "apps" << "default" << "services" << "xdg" << "session");
return list;
}
@@ -37,12 +38,14 @@ static QList<PAGEINFO> KnownPages(){
#include "page_wallpaper.h"
#include "page_theme.h"
#include "page_autostart.h"
+#include "page_defaultapps.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); }
else if(id=="autostart"){ return new page_autostart(parent); }
+ else if(id=="defaultapps"){ return new page_defaultapps(parent); }
//Return the main control_panel page as the fallback/default
return new page_main(parent);
}
bgstack15