aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/NewDP.h
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2014-11-03 21:14:37 +0100
committerChristopher Roy Bratusek <nano@jpberlin.de>2014-11-03 21:14:37 +0100
commit0d1cd6623f7804828d4b2dbb568449a49f728cc2 (patch)
treedd85de54d59ffe29d0f62942c0c9e3cf3d4a9616 /lumina-desktop/desktop-plugins/NewDP.h
parentdebian/changelog (diff)
parentAdd a new desktop plugin: desktopview (diff)
downloadlumina-0d1cd6623f7804828d4b2dbb568449a49f728cc2.tar.gz
lumina-0d1cd6623f7804828d4b2dbb568449a49f728cc2.tar.bz2
lumina-0d1cd6623f7804828d4b2dbb568449a49f728cc2.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'lumina-desktop/desktop-plugins/NewDP.h')
-rw-r--r--lumina-desktop/desktop-plugins/NewDP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/NewDP.h b/lumina-desktop/desktop-plugins/NewDP.h
index 83d035d5..daf9802c 100644
--- a/lumina-desktop/desktop-plugins/NewDP.h
+++ b/lumina-desktop/desktop-plugins/NewDP.h
@@ -16,6 +16,7 @@
#include "SamplePlugin.h"
#include "calendar/CalendarPlugin.h"
#include "applauncher/AppLauncherPlugin.h"
+#include "desktopview/DesktopViewPlugin.h"
class NewDP{
public:
@@ -28,6 +29,8 @@ public:
}else if(plugin.section("---",0,0).section("::",0,0)=="applauncher"){
//This plugin can be pre-initialized to a file path after the "::" delimiter
plug = new AppLauncherPlugin(parent, plugin);
+ }else if(plugin.section("---",0,0)=="desktopview"){
+ plug = new DesktopViewPlugin(parent, plugin);
}else{
qWarning() << "Invalid Desktop Plugin:"<<plugin << " -- Ignored";
}
bgstack15