diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h new file mode 100644 index 00000000..9702e6e4 --- /dev/null +++ b/lumina-desktop/desktop-plugins/desktopview/DesktopViewPlugin.h @@ -0,0 +1,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
\ No newline at end of file |