void search( const QString& search_text );
void sort( 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 );
inline PLItem *getItem( QModelIndex index ) const
/* Actions */
void recurseDelete( QList<PLItem*> children, QModelIndexList *fullList );
- void doDeleteItem( PLItem *item, QModelIndexList *fullList );
void updateTreeItem( PLItem * );
void removeItem ( PLItem * );
+ void removeItem( int );
void takeItem( PLItem * ); //will not delete item
void insertChildren( PLItem *node, QList<PLItem*>& items, int i_pos );
void dropAppendCopy( QByteArray& data, PLItem *target );
signals:
void currentChanged( const QModelIndex& );
+ void rootChanged();
public slots:
void activateItem( const QModelIndex &index );