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_AUTOSTART_H
8 #define _LUMINA_CONFIG_PAGE_AUTOSTART_H
9 #include "../globals.h"
10 #include "PageWidget.h"
11 
12 namespace Ui{
13 	class page_autostart;
14 };
15 
16 class page_autostart : public PageWidget{
17 	Q_OBJECT
18 public:
19 	page_autostart(QWidget *parent);
20 	~page_autostart();
21 
22 public slots:
23 	void SaveSettings();
24 	void LoadSettings(int screennum);
25 	void updateIcons();
26 
27 private:
28 	Ui::page_autostart *ui;
29 
30 	QString getSysApp(bool allowreset);
31 
32 private slots:
33 	void rmsessionstartitem();
34 	void addsessionstartapp();
35 	void addsessionstartbin();
36 	void addsessionstartfile();
37 };
38 #endif
39