1 //===========================================
2 //  Lumina Desktop Source Code
3 //  Copyright (c) 2016, Ken Moore
4 //  Available under the 3-clause BSD license
5 //  See the LICENSE file for full details
6 //===========================================
7 #ifndef _LUMINA_CONFIG_PAGE_INTERFACE_DESKTOP_H
8 #define _LUMINA_CONFIG_PAGE_INTERFACE_DESKTOP_H
9 #include "../globals.h"
10 #include "PageWidget.h"
11 #include "../LPlugins.h"
12 
13 namespace Ui{
14 	class page_interface_desktop;
15 };
16 
17 class page_interface_desktop : public PageWidget{
18 	Q_OBJECT
19 public:
20 	page_interface_desktop(QWidget *parent);
21 	~page_interface_desktop();
22 
needsScreenSelector()23 	bool needsScreenSelector(){ return true; }
24 
25 public slots:
26 	void SaveSettings();
27 	void LoadSettings(int screennum = -1);
28 	void updateIcons();
29 
30 private:
31 	Ui::page_interface_desktop *ui;
32 	int cscreen; //current monitor/screen number
33 	LPlugins *PINFO;
34 
35 	//Get an application on the system
36 	QString getSysApp(bool allowreset = false);
37 
38 private slots:
39 	void deskplugadded();
40 	void deskplugremoved();
41 };
42 #endif
43