return static_cast<PLItem*>( index.internalPointer() );
else return rootItem;
}
- int getZoom() const
- {
- return i_zoom;
- }
signals:
- void currentChanged( const QModelIndex& );
- void rootChanged();
+ void currentIndexChanged( const QModelIndex& );
+ void rootIndexChanged();
public slots:
virtual void activateItem( const QModelIndex &index );
- void changeZoom( const int zoom )
- {
- i_zoom = zoom;
- emit layoutChanged();
- }
private:
/* General */
void processItemRemoval( int i_id );
void processItemAppend( int item, int parent );
void activateItem( playlist_item_t *p_item );
+ void increaseZoom();
+ void decreaseZoom();
};
class PlMimeData : public QMimeData