Commit 6ea7535a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove dead code/signals

parent 0fb61d20
......@@ -57,7 +57,6 @@ protected:
intf_thread_t *p_intf;
QFrame *parent;
public slots:
virtual void setRoot( int ) = 0;
virtual void setRoot( playlist_item_t * ) = 0;
};
......@@ -81,7 +80,6 @@ private:
QSignalMapper *selectColumnsSigMapper;
public slots:
void removeItem( int );
virtual void setRoot( int );
virtual void setRoot( playlist_item_t * );
private slots:
void deleteSelection();
......
......@@ -86,11 +86,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i ) : p_intf ( _p_i )
connect( selector, SIGNAL( activated( playlist_item_t * ) ),
this, SIGNAL( rootChanged( playlist_item_t * ) ) );
/* Forward removal requests from the selector to the main panel */
/* CONNECT( qobject_cast<PLSelector *>( selector )->model,
shouldRemove( int ),
qobject_cast<StandardPLPanel *>( rightPanel ), removeItem( int ) ); */
emit rootChanged( p_root );
/* Add the two sides of the QSplitter */
......
......@@ -177,7 +177,6 @@ private:
int i_cached_input_id;
signals:
void shouldRemove( int );
void currentChanged( const QModelIndex& );
public slots:
......
......@@ -53,9 +53,7 @@ private:
private slots:
void setSource( QTreeWidgetItem *item );
signals:
void activated( int );
void activated( playlist_item_t * );
void shouldRemove( int );
};
#endif
......@@ -302,16 +302,6 @@ void StandardPLPanel::doPopup( QModelIndex index, QPoint point )
/* Set the root of the new Playlist */
/* This activated by the selector selection */
void StandardPLPanel::setRoot( int i_root_id )
{
QPL_LOCK;
playlist_item_t *p_item = playlist_ItemGetById( THEPL, i_root_id );
assert( p_item );
p_item = playlist_GetPreferredNode( THEPL, p_item );
setRoot( p_item );
QPL_UNLOCK;
}
void StandardPLPanel::setRoot( playlist_item_t *p_item )
{
QPL_LOCK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment