- CONNECT( selector, activated( int ), rightPanel, setRoot( int ) );
-
- /* Connect the activated() to the rootChanged() signal
- This will be used by StandardPLPanel to setCurrentRootId, that will
- change the label of the addButton */
- connect( selector, SIGNAL( activated( int ) ),
- this, SIGNAL( rootChanged( int ) ) );
-
- /* Forward removal requests from the selector to the main panel */
- CONNECT( qobject_cast<PLSelector *>( selector )->model,
- shouldRemove( int ),
- qobject_cast<StandardPLPanel *>( rightPanel ), removeItem( int ) );
+ CONNECT( selector, activated( playlist_item_t * ),
+ rightPanel, setRoot( playlist_item_t * ) );