created sample playlist xml stub.

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@661 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-11-05 01:34:50 +00:00
parent 76686ba697
commit c96e340976
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<PresetPlaylist name="Sample"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="presetplaylist.xsd">
<description>A sample preset playlist.</description>
<item>
<url>/usr/share/projectM/presets/Aderrasi - Flowing Form.milk</url>
<rating>2</rating>
</item>
<item>
<url>/usr/share/projectM/presets/Aderrasi - Paintsphere.milk</url>
<rating>4</rating>
</item>
<item>
<url>/usr/share/projectM/presets/Aderrasi - What Cannot Be Undone.milk</url>
<rating>5</rating>
</item>
<item>
<url>/usr/share/projectM/presets/Aderrasi - Songflower (Moss Posy).milk</url>
<rating>0</rating>
</item>
</PresetPlaylist>
/usr/share/projectM/presets/Aderrasi - Making Time (Swamp Mix).milk
/usr/share/projectM/presets/Aderrasi - Potion of Spirits.milk
/usr/share/projectM/presets/Aderrasi - Spillswirl.milk
/usr/share/projectM/presets/Aderrasi - What cannot be.milk
/usr/share/projectM/presets/Aderrasi - What Cannot Be Undone.milk

View File

@ -122,6 +122,7 @@ void QProjectM_MainWindow::postProjectM_Initialize() {
connect(m_QProjectMWidget, SIGNAL(presetLockChanged(bool)), playlistModel, SLOT(updateItemHighlights()));
connect(m_QProjectMWidget->getQProjectM(), SIGNAL(presetSwitchedSignal(bool,unsigned int)), playlistModel, SLOT(updateItemHighlights()));
/// @bug not right
connect(ui.presetSearchBarLineEdit, SIGNAL(textChanged(const QString&)), playlistModel, SLOT(updateItemHighlights()));
}