implement context menu for playlist view

parent bce3ab60
......@@ -652,7 +652,6 @@ private:
int m_currentColumn;
int m_processed;
QAction *m_rmbEdit;
int m_selectedCount;
bool m_allowDuplicates;
......
This diff is collapsed.
......@@ -10,13 +10,20 @@ class PlaylistView : public QTreeView
Q_OBJECT
public:
PlaylistView(QWidget *parent);
protected slots:
virtual void contextMenuEvent(QContextMenuEvent*);
private:
Playlist *playlist() { return qobject_cast<Playlist*>(model()); }
private slots:
void slotPopulateBackMenu() const;
void slotPlayFromBackMenu(QAction *) const;
KMenu *m_contextMenu;
QAction *m_editAction;
int m_currentColumn;
// private slots:
// void slotPopulateBackMenu() const;
// void slotPlayFromBackMenu(QAction *) const;
};
#endif//PLAYLISTVIEW_H
\ No newline at end of file
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