#include <QObject>
#include <QEvent>
#include <QMimeData>
+#include <QSignalMapper>
class PLModel;
+class QSignalMapper;
class PLItem
{
int type;
int i_id;
int i_input_id;
+ int i_showflags;
+
+ void updateview( void );
friend class PLModel;
private:
void init( int, int, PLItem *, PLModel * );
bool b_need_update;
int i_items_to_append;
+
void rebuild(); void rebuild( playlist_item_t *);
bool hasRandom(); bool hasLoop(); bool hasRepeat();
void sendArt( QString url );
void removeArt( );
+
+ int shownFlags() { return rootItem->i_showflags; }
private:
void addCallbacks();
void delCallbacks();
/* Popup */
int i_popup_item, i_popup_parent;
QModelIndexList current_selection;
+ QSignalMapper *ContextUpdateMapper;
/* Lookups */
PLItem *FindById( PLItem *, int );
void popupInfo();
void popupStream();
void popupSave();
+#ifdef WIN32
+ void popupExplore();
+#endif
+ void viewchanged( int );
friend class PLItem;
};