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

Qt: remove dead code/signals

parent 0fb61d20
...@@ -57,7 +57,6 @@ protected: ...@@ -57,7 +57,6 @@ protected:
intf_thread_t *p_intf; intf_thread_t *p_intf;
QFrame *parent; QFrame *parent;
public slots: public slots:
virtual void setRoot( int ) = 0;
virtual void setRoot( playlist_item_t * ) = 0; virtual void setRoot( playlist_item_t * ) = 0;
}; };
...@@ -81,7 +80,6 @@ private: ...@@ -81,7 +80,6 @@ private:
QSignalMapper *selectColumnsSigMapper; QSignalMapper *selectColumnsSigMapper;
public slots: public slots:
void removeItem( int ); void removeItem( int );
virtual void setRoot( int );
virtual void setRoot( playlist_item_t * ); virtual void setRoot( playlist_item_t * );
private slots: private slots:
void deleteSelection(); void deleteSelection();
......
...@@ -86,11 +86,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i ) : p_intf ( _p_i ) ...@@ -86,11 +86,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i ) : p_intf ( _p_i )
connect( selector, SIGNAL( activated( playlist_item_t * ) ), connect( selector, SIGNAL( activated( playlist_item_t * ) ),
this, SIGNAL( rootChanged( 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 ); emit rootChanged( p_root );
/* Add the two sides of the QSplitter */ /* Add the two sides of the QSplitter */
......
...@@ -177,7 +177,6 @@ private: ...@@ -177,7 +177,6 @@ private:
int i_cached_input_id; int i_cached_input_id;
signals: signals:
void shouldRemove( int );
void currentChanged( const QModelIndex& ); void currentChanged( const QModelIndex& );
public slots: public slots:
......
...@@ -53,9 +53,7 @@ private: ...@@ -53,9 +53,7 @@ private:
private slots: private slots:
void setSource( QTreeWidgetItem *item ); void setSource( QTreeWidgetItem *item );
signals: signals:
void activated( int );
void activated( playlist_item_t * ); void activated( playlist_item_t * );
void shouldRemove( int );
}; };
#endif #endif
...@@ -302,16 +302,6 @@ void StandardPLPanel::doPopup( QModelIndex index, QPoint point ) ...@@ -302,16 +302,6 @@ void StandardPLPanel::doPopup( QModelIndex index, QPoint point )
/* Set the root of the new Playlist */ /* Set the root of the new Playlist */
/* This activated by the selector selection */ /* 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 ) void StandardPLPanel::setRoot( playlist_item_t *p_item )
{ {
QPL_LOCK; 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