1 /***************************************************************************
2 * copyright : (C) 2007 Ian Monroe <ian@monroe.nu> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License version 2 *
6 * as published by the Free Software Foundation. *
7 ***************************************************************************/
9 #include "TrackAdvancer.h"
12 #include "enginecontroller.h"
13 #include "PlaylistModel.h"
15 using namespace PlaylistNS
;
18 TrackAdvancer::setCurrentTrack( int position
)
21 m_playlistModel
->setActiveRow( position
);
22 EngineController::instance()->play( m_playlistModel
->activeTrack() );