From 2259e7bd6199268a0948a3ca0b8da01a477fd7f7 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 26 Nov 2008 19:46:06 +0000 Subject: [PATCH] Moved SongXml, created openlp.plugins.songs.forms module. bzr-revno: 128 --- .eric4project/openlp.org 2.0.e4q | 2 +- .eric4project/openlp.org 2.0.e4t | 2 +- openlp.org 2.0.e4p | 4 ++-- openlp/plugins/songs/__init__.py | 0 openlp/plugins/songs/forms/__init__.py | 0 openlp/plugins/songs/songsplugin.py | 2 +- openlp/{song => plugins/songs}/songxml.py | 0 .../{song => plugins/songs}/test/data_opensong/Amazing Grace | 0 .../songs}/test/data_opensong/På en fjern ensom høj | 0 .../{song => plugins/songs}/test/data_opensong/The Solid Rock | 0 .../{song => plugins/songs}/test/data_text/CCLI example.txt | 0 openlp/{song => plugins/songs}/test/data_text/PåEnFjern.txt | 0 openlp/{song => plugins/songs}/test/test_song_basic.py | 0 openlp/{song => plugins/songs}/test/test_song_opensong.py | 0 openlp/{song => plugins/songs}/test/test_song_text.py | 0 openlp/{song => plugins/songs}/test/test_song_verse.py | 0 16 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 openlp/plugins/songs/__init__.py create mode 100644 openlp/plugins/songs/forms/__init__.py rename openlp/{song => plugins/songs}/songxml.py (100%) rename openlp/{song => plugins/songs}/test/data_opensong/Amazing Grace (100%) rename openlp/{song => plugins/songs}/test/data_opensong/På en fjern ensom høj (100%) rename openlp/{song => plugins/songs}/test/data_opensong/The Solid Rock (100%) rename openlp/{song => plugins/songs}/test/data_text/CCLI example.txt (100%) rename openlp/{song => plugins/songs}/test/data_text/PåEnFjern.txt (100%) rename openlp/{song => plugins/songs}/test/test_song_basic.py (100%) rename openlp/{song => plugins/songs}/test/test_song_opensong.py (100%) rename openlp/{song => plugins/songs}/test/test_song_text.py (100%) rename openlp/{song => plugins/songs}/test/test_song_verse.py (100%) diff --git a/.eric4project/openlp.org 2.0.e4q b/.eric4project/openlp.org 2.0.e4q index afd156796..6de72d8eb 100644 --- a/.eric4project/openlp.org 2.0.e4q +++ b/.eric4project/openlp.org 2.0.e4q @@ -1,7 +1,7 @@ - + \ No newline at end of file diff --git a/.eric4project/openlp.org 2.0.e4t b/.eric4project/openlp.org 2.0.e4t index 9cc589227..05f885d47 100644 --- a/.eric4project/openlp.org 2.0.e4t +++ b/.eric4project/openlp.org 2.0.e4t @@ -1,7 +1,7 @@ - + TODO: what is the tags for bridge, pre-chorus? diff --git a/openlp.org 2.0.e4p b/openlp.org 2.0.e4p index 1059a2593..9df8b0b5e 100644 --- a/openlp.org 2.0.e4p +++ b/openlp.org 2.0.e4p @@ -1,7 +1,7 @@ - + Python @@ -33,7 +33,6 @@ openlp/core/plugin.py openlp/core/xmlrootclass.py openlp/song/__init__.py - openlp/song/song.py openlp/song/test/test_song_opensong.py openlp/song/test/test_song_basic.py openlp/song/test/test_song_text.py @@ -73,6 +72,7 @@ openlp/core/ui/alertform.py openlp/core/ui/about.py openlp/plugins/songs/songplugin.py + openlp/song/songxml.py
openlp/resources/forms/mainwindow.ui
diff --git a/openlp/plugins/songs/__init__.py b/openlp/plugins/songs/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openlp/plugins/songs/forms/__init__.py b/openlp/plugins/songs/forms/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/openlp/plugins/songs/songsplugin.py b/openlp/plugins/songs/songsplugin.py index 2174540b1..ce60faa0d 100644 --- a/openlp/plugins/songs/songsplugin.py +++ b/openlp/plugins/songs/songsplugin.py @@ -22,7 +22,7 @@ from PyQt4 import QtCore, QtGui from openlp.resources import * from openlp.core import Plugin, MediaManagerItem -class SongPlugin(Plugin): +class SongsPlugin(Plugin): def __init__(self): # Call the parent constructor Plugin.__init__('Song', '1.9.0') diff --git a/openlp/song/songxml.py b/openlp/plugins/songs/songxml.py similarity index 100% rename from openlp/song/songxml.py rename to openlp/plugins/songs/songxml.py diff --git a/openlp/song/test/data_opensong/Amazing Grace b/openlp/plugins/songs/test/data_opensong/Amazing Grace similarity index 100% rename from openlp/song/test/data_opensong/Amazing Grace rename to openlp/plugins/songs/test/data_opensong/Amazing Grace diff --git a/openlp/song/test/data_opensong/På en fjern ensom høj b/openlp/plugins/songs/test/data_opensong/På en fjern ensom høj similarity index 100% rename from openlp/song/test/data_opensong/På en fjern ensom høj rename to openlp/plugins/songs/test/data_opensong/På en fjern ensom høj diff --git a/openlp/song/test/data_opensong/The Solid Rock b/openlp/plugins/songs/test/data_opensong/The Solid Rock similarity index 100% rename from openlp/song/test/data_opensong/The Solid Rock rename to openlp/plugins/songs/test/data_opensong/The Solid Rock diff --git a/openlp/song/test/data_text/CCLI example.txt b/openlp/plugins/songs/test/data_text/CCLI example.txt similarity index 100% rename from openlp/song/test/data_text/CCLI example.txt rename to openlp/plugins/songs/test/data_text/CCLI example.txt diff --git a/openlp/song/test/data_text/PåEnFjern.txt b/openlp/plugins/songs/test/data_text/PåEnFjern.txt similarity index 100% rename from openlp/song/test/data_text/PåEnFjern.txt rename to openlp/plugins/songs/test/data_text/PåEnFjern.txt diff --git a/openlp/song/test/test_song_basic.py b/openlp/plugins/songs/test/test_song_basic.py similarity index 100% rename from openlp/song/test/test_song_basic.py rename to openlp/plugins/songs/test/test_song_basic.py diff --git a/openlp/song/test/test_song_opensong.py b/openlp/plugins/songs/test/test_song_opensong.py similarity index 100% rename from openlp/song/test/test_song_opensong.py rename to openlp/plugins/songs/test/test_song_opensong.py diff --git a/openlp/song/test/test_song_text.py b/openlp/plugins/songs/test/test_song_text.py similarity index 100% rename from openlp/song/test/test_song_text.py rename to openlp/plugins/songs/test/test_song_text.py diff --git a/openlp/song/test/test_song_verse.py b/openlp/plugins/songs/test/test_song_verse.py similarity index 100% rename from openlp/song/test/test_song_verse.py rename to openlp/plugins/songs/test/test_song_verse.py