diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-08 16:27:10 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-08 16:27:10 -0400 |
commit | 4198b8da55cd579e95a9e5ef08e198bf7f22abe9 (patch) | |
tree | c06f46afe4277895f1d32aff44749ec937652d67 /lumina-desktop/desktop-plugins | |
parent | Add the conversion rule for 0.8.7-devel (or older) to 0.8.7-release to automa... (diff) | |
download | lumina-4198b8da55cd579e95a9e5ef08e198bf7f22abe9.tar.gz lumina-4198b8da55cd579e95a9e5ef08e198bf7f22abe9.tar.bz2 lumina-4198b8da55cd579e95a9e5ef08e198bf7f22abe9.zip |
Split up the desktop-plugin source files into a separate desktop-plugins.pri file as well. Also remove the "sample" desktop plugin from being included in the build.
Diffstat (limited to 'lumina-desktop/desktop-plugins')
-rw-r--r-- | lumina-desktop/desktop-plugins/NewDP.h | 7 | ||||
-rw-r--r-- | lumina-desktop/desktop-plugins/desktop-plugins.pri | 19 |
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 |