aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/NewDP.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-11-04 12:06:37 -0500
committerKen Moore <ken@pcbsd.org>2014-11-04 12:06:37 -0500
commit43240f0e12b7fcbe4e2e9201b251e281cfa5d2bb (patch)
treeaca8679161d7d31f3f29461e9252de350acdbbcb /lumina-desktop/desktop-plugins/NewDP.h
parentAdd a new desktop plugin: desktopview (diff)
downloadlumina-43240f0e12b7fcbe4e2e9201b251e281cfa5d2bb.tar.gz
lumina-43240f0e12b7fcbe4e2e9201b251e281cfa5d2bb.tar.bz2
lumina-43240f0e12b7fcbe4e2e9201b251e281cfa5d2bb.zip
Add a new desktop plugin: notepad
This is a plugin for taking/saving simple text notes right on your desktop.
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 daf9802c..6490af00 100644
--- a/lumina-desktop/desktop-plugins/NewDP.h
+++ b/lumina-desktop/desktop-plugins/NewDP.h
@@ -17,6 +17,7 @@
#include "calendar/CalendarPlugin.h"
#include "applauncher/AppLauncherPlugin.h"
#include "desktopview/DesktopViewPlugin.h"
+#include "notepad/NotepadPlugin.h"
class NewDP{
public:
@@ -31,6 +32,8 @@ public:
plug = new AppLauncherPlugin(parent, plugin);
}else if(plugin.section("---",0,0)=="desktopview"){
plug = new DesktopViewPlugin(parent, plugin);
+ }else if(plugin.section("---",0,0)=="notepad"){
+ plug = new NotePadPlugin(parent, plugin);
}else{
qWarning() << "Invalid Desktop Plugin:"<<plugin << " -- Ignored";
}
bgstack15