Commit dee8d5f4 authored by Jakob Leben's avatar Jakob Leben

Qt: PLModel::removeItem( int ) is not for public usage

parent 74d4a589
...@@ -97,7 +97,6 @@ public: ...@@ -97,7 +97,6 @@ public:
void search( const QString& search_text ); void search( const QString& search_text );
void sort( int column, Qt::SortOrder order ); void sort( int column, Qt::SortOrder order );
void sort( int i_root_id, int column, Qt::SortOrder order ); void sort( int i_root_id, int column, Qt::SortOrder order );
void removeItem( int );
void rebuild(); void rebuild( playlist_item_t *, bool b_first = false ); void rebuild(); void rebuild( playlist_item_t *, bool b_first = false );
inline PLItem *getItem( QModelIndex index ) const inline PLItem *getItem( QModelIndex index ) const
...@@ -122,6 +121,7 @@ private: ...@@ -122,6 +121,7 @@ private:
void recurseDelete( QList<PLItem*> children, QModelIndexList *fullList ); void recurseDelete( QList<PLItem*> children, QModelIndexList *fullList );
void updateTreeItem( PLItem * ); void updateTreeItem( PLItem * );
void removeItem ( PLItem * ); void removeItem ( PLItem * );
void removeItem( int );
void takeItem( PLItem * ); //will not delete item void takeItem( PLItem * ); //will not delete item
void insertChildren( PLItem *node, QList<PLItem*>& items, int i_pos ); void insertChildren( PLItem *node, QList<PLItem*>& items, int i_pos );
void dropAppendCopy( QByteArray& data, PLItem *target ); void dropAppendCopy( QByteArray& data, PLItem *target );
......
...@@ -261,11 +261,6 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item ) ...@@ -261,11 +261,6 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item )
model->rebuild( p_item ); model->rebuild( p_item );
} }
void StandardPLPanel::removeItem( int i_id )
{
model->removeItem( i_id );
}
/* Delete and Suppr key remove the selection /* Delete and Suppr key remove the selection
FilterKey function and code function */ FilterKey function and code function */
void StandardPLPanel::keyPressEvent( QKeyEvent *e ) void StandardPLPanel::keyPressEvent( QKeyEvent *e )
......
...@@ -93,7 +93,6 @@ private: ...@@ -93,7 +93,6 @@ private:
void createIconView(); void createIconView();
public slots: public slots:
void removeItem( int );
virtual void setRoot( playlist_item_t * ); virtual void setRoot( playlist_item_t * );
private slots: private slots:
void deleteSelection(); void deleteSelection();
......
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