PLEvent( PLEventTypes t, int i, int p = 0 )
: QEvent( (QEvent::Type)(t) ), i_item(i), i_parent(p) {}
int getItemId() const { return i_item; };
int getParentId() const { return i_parent; };
PLEvent( PLEventTypes t, int i, int p = 0 )
: QEvent( (QEvent::Type)(t) ), i_item(i), i_parent(p) {}
int getItemId() const { return i_item; };
int getParentId() const { return i_parent; };
private:
/* Needed for "playlist-item*" and "leaf-to-parent" callbacks
* !! Can be a input_item_t->i_id or a playlist_item_t->i_id */
private:
/* Needed for "playlist-item*" and "leaf-to-parent" callbacks
* !! Can be a input_item_t->i_id or a playlist_item_t->i_id */
{
return p_input /* We have an input */
&& !p_input->b_dead /* not dead yet, */
{
return p_input /* We have an input */
&& !p_input->b_dead /* not dead yet, */
private slots:
void notifyRandom( bool );
void notifyRepeatLoop( bool );
void notifyVolume( float );
void notifyMute( bool );
private slots:
void notifyRandom( bool );
void notifyRepeatLoop( bool );
void notifyVolume( float );
void notifyMute( bool );