aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h
blob: 9702e6e4fd43d1b5cb5ee1fa396416b70cca88ee (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
43
//===========================================
//  Lumina-DE source code
//  Copyright (c) 2014, Ken Moore
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details
//===========================================
//  This class is the interface to load all the different desktop plugins
//===========================================
#ifndef _LUMINA_DESKTOP_VIEW_PLUGIN_H
#define _LUMINA_DESKTOP_VIEW_PLUGIN_H

#include <QDir>
#include <QFile>
#include <QFileSystemWatcher>
#include <QGridLayout>
#include <QStringList>
#include <QList>
#include <QTimer>

#include <LuminaXDG.h>

#include "../LDPlugin.h"
#include "DeskItem.h"


class DesktopViewPlugin : public LDPlugin{
	Q_OBJECT
public:
	DesktopViewPlugin(QWidget *parent = 0);
	~DesktopViewPlugin();

private:
	QString deskDir;
	QFileSystemWatcher *watcher;
	QGridLayout *layout;
	int icoSize, spacing;
	QList<DeskItem*> ITEMS;

private slots:
	void UpdateDesktop();

};
#endif
bgstack15