aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/desktop-plugins')
-rw-r--r--lumina-desktop/desktop-plugins/NewDP.h7
-rw-r--r--lumina-desktop/desktop-plugins/desktop-plugins.pri19
2 files changed, 23 insertions, 3 deletions
diff --git a/lumina-desktop/desktop-plugins/NewDP.h b/lumina-desktop/desktop-plugins/NewDP.h
index b5881c4e..95494b91 100644
--- a/lumina-desktop/desktop-plugins/NewDP.h
+++ b/lumina-desktop/desktop-plugins/NewDP.h
@@ -13,7 +13,7 @@
//List all the individual plugin includes here
#include "LDPlugin.h"
-#include "SamplePlugin.h"
+//#include "SamplePlugin.h"
#include "calendar/CalendarPlugin.h"
#include "applauncher/AppLauncherPlugin.h"
#include "desktopview/DesktopViewPlugin.h"
@@ -28,9 +28,10 @@ public:
static LDPlugin* createPlugin(QString plugin, QWidget* parent=0){
//qDebug() << "Create Plugin:" << plugin;
LDPlugin *plug = 0;
- if(plugin.section("---",0,0)=="sample"){
+ /*if(plugin.section("---",0,0)=="sample"){
plug = new SamplePlugin(parent, plugin);
- }else if(plugin.section("---",0,0)=="calendar"){
+ }else */
+ if(plugin.section("---",0,0)=="calendar"){
plug = new CalendarPlugin(parent, plugin);
}else if(plugin.section("---",0,0).section("::",0,0)=="applauncher"){
//This plugin can be pre-initialized to a file path after the "::" delimiter
diff --git a/lumina-desktop/desktop-plugins/desktop-plugins.pri b/lumina-desktop/desktop-plugins/desktop-plugins.pri
new file mode 100644
index 00000000..4a008cca
--- /dev/null
+++ b/lumina-desktop/desktop-plugins/desktop-plugins.pri
@@ -0,0 +1,19 @@
+SOURCES += $$PWD/applauncher/AppLauncherPlugin.cpp \
+ $$PWD/desktopview/DesktopViewPlugin.cpp \
+ $$PWD/notepad/NotepadPlugin.cpp \
+ $$PWD/audioplayer/PlayerWidget.cpp \
+ $$PWD/systemmonitor/MonitorWidget.cpp
+# $$PWD/messagecenter/MessageCenter.cpp
+
+HEADERS += $$PWD/calendar/CalendarPlugin.h \
+ $$PWD/applauncher/AppLauncherPlugin.h \
+ $$PWD/applauncher/OutlineToolButton.h \
+ $$PWD/desktopview/DesktopViewPlugin.h \
+ $$PWD/notepad/NotepadPlugin.h \
+ $$PWD/audioplayer/PlayerWidget.h \
+ $$PWD/systemmonitor/MonitorWidget.h \
+ $$PWD/quickcontainer/QuickDPlugin.h
+# $$PWD/messagecenter/MessageCenter.h
+
+FORMS += $$PWD/audioplayer/PlayerWidget.ui \
+ $$PWD/systemmonitor/MonitorWidget.ui \ No newline at end of file
bgstack15