~ubuntu-branches/ubuntu/natty/kdemultimedia/natty-updates

« back to all changes in this revision

Viewing changes to juk/playlistbox.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sune Vuorela, Modestas Vainius, Sune Vuorela
  • Date: 2010-07-18 12:25:35 UTC
  • mfrom: (1.3.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: james.westby@ubuntu.com-20100718122535-decjnhea9zyxxjsz
Tags: 4:4.4.5-1
[ Modestas Vainius ]
* New upstream release.
* Bump kde-sc-dev-latest build dependency to 4:4.4.5.

[ Sune Vuorela ]
* Update descriptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
// PlaylistBox public methods
63
63
////////////////////////////////////////////////////////////////////////////////
64
64
 
65
 
PlaylistBox::PlaylistBox(QWidget *parent, QStackedWidget *playlistStack) :
 
65
PlaylistBox::PlaylistBox(PlayerManager *player, QWidget *parent, QStackedWidget *playlistStack) :
66
66
    K3ListView(parent),
67
 
    PlaylistCollection(playlistStack),
 
67
    PlaylistCollection(player, playlistStack),
68
68
    m_viewModeIndex(0),
69
69
    m_hasSelection(false),
70
70
    m_doingMultiSelect(false),
253
253
void PlaylistBox::slotSetHistoryPlaylistEnabled(bool enable)
254
254
{
255
255
    setHistoryPlaylistEnabled(enable);
256
 
    if(enable) {
257
 
        connect(this, SIGNAL(playingItemChanged(FileHandle)),
258
 
                historyPlaylist(), SLOT(appendProposedItem(FileHandle)));
259
 
    }
260
256
}
261
257
 
262
258
void PlaylistBox::setupPlaylist(Playlist *playlist, const QString &iconName)