[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src/scriptengine
From: Mark Kretschmann <kretschmann () kde ! org>
Date: 2009-05-30 11:10:47
Message-ID: 1243681847.666571.20153.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 975465 by markey:
Register MetaType QList<QUrl> to make the Playlist.addMediaList script
function work.
M +2 -0 AmarokPlaylistScript.cpp
--- trunk/extragear/multimedia/amarok/src/scriptengine/AmarokPlaylistScript.cpp \
#975464:975465 @@ -38,6 +38,8 @@
, m_wrapperList( wrapperList )
, m_scriptEngine( scriptEngine )
{
+ qRegisterMetaType<QList<QUrl> >( "QList<QUrl>" );
+
connect( The::playlistModel(), SIGNAL( rowsInserted( const QModelIndex&, \
int, int ) ), this, SLOT ( slotTrackInserted( const QModelIndex&, \
int, int ) ) );
connect( The::playlistModel(), SIGNAL( rowsRemoved( const QModelIndex&, int, \
int ) ), this, SLOT ( slotTrackRemoved( const QModelIndex&, int, int \
) ) );
connect( The::playlistModel(), SIGNAL( activeRowChanged( int ) ), this, \
SIGNAL( activeRowChanged( int ) ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic