aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_interface_desktop.h
blob: cfeb7f8c70ffd4ac7a17010c9e8cf3d0f5117be8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//===========================================
//  Lumina Desktop Source Code
//  Copyright (c) 2016, Ken Moore
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details 
//===========================================
#ifndef _LUMINA_CONFIG_PAGE_INTERFACE_DESKTOP_H
#define _LUMINA_CONFIG_PAGE_INTERFACE_DESKTOP_H
#include "../globals.h"
#include "PageWidget.h"
#include "../LPlugins.h"

namespace Ui{
	class page_interface_desktop;
};

class page_interface_desktop : public PageWidget{
	Q_OBJECT
public:
	page_interface_desktop(QWidget *parent);
	~page_interface_desktop();

	bool needsScreenSelector(){ return true; }

public slots:
	void SaveSettings();
	void LoadSettings(int screennum = -1);
	void updateIcons();

private:
	Ui::page_interface_desktop *ui;
	int cscreen; //current monitor/screen number
	LPlugins *PINFO;

	//Get an application on the system
	QString getSysApp(bool allowreset = false);

private slots:
	void deskplugadded();
	void deskplugremoved();
};
#endif
bgstack15