Mixxx
|
#include <rhythmboxfeature.h>
Public Slots | |
void | activate () |
void | activateChild (const QModelIndex &index) |
void | onRightClick (const QPoint &globalPos) |
void | onRightClickChild (const QPoint &globalPos, QModelIndex index) |
void | onLazyChildExpandation (const QModelIndex &index) |
void | onTrackCollectionLoaded () |
Public Member Functions | |
RhythmboxFeature (QObject *parent, TrackCollection *) | |
virtual | ~RhythmboxFeature () |
QVariant | title () |
QIcon | getIcon () |
bool | dropAccept (QUrl url) |
bool | dropAcceptChild (const QModelIndex &index, QUrl url) |
bool | dragMoveAccept (QUrl url) |
bool | dragMoveAcceptChild (const QModelIndex &index, QUrl url) |
TreeItemModel * | getChildModel () |
TreeItem * | importMusicCollection () |
TreeItem * | importPlaylists () |
Static Public Member Functions | |
static bool | isSupported () |
Definition at line 20 of file rhythmboxfeature.h.
RhythmboxFeature::RhythmboxFeature | ( | QObject * | parent, |
TrackCollection * | pTrackCollection | ||
) |
RhythmboxFeature::~RhythmboxFeature | ( | ) | [virtual] |
Definition at line 57 of file rhythmboxfeature.cpp.
void RhythmboxFeature::activate | ( | ) | [virtual, slot] |
called when you single click on the root item
Implements LibraryFeature.
Definition at line 82 of file rhythmboxfeature.cpp.
void RhythmboxFeature::activateChild | ( | const QModelIndex & | index | ) | [virtual, slot] |
called when you single click on a child item, e.g., a concrete playlist or crate
Implements LibraryFeature.
Definition at line 108 of file rhythmboxfeature.cpp.
bool RhythmboxFeature::dragMoveAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 130 of file rhythmboxfeature.cpp.
bool RhythmboxFeature::dragMoveAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 134 of file rhythmboxfeature.cpp.
bool RhythmboxFeature::dropAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 122 of file rhythmboxfeature.cpp.
bool RhythmboxFeature::dropAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 126 of file rhythmboxfeature.cpp.
TreeItemModel * RhythmboxFeature::getChildModel | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 78 of file rhythmboxfeature.cpp.
QIcon RhythmboxFeature::getIcon | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 74 of file rhythmboxfeature.cpp.
TreeItem * RhythmboxFeature::importMusicCollection | ( | ) |
processes the music collection
Definition at line 138 of file rhythmboxfeature.cpp.
TreeItem * RhythmboxFeature::importPlaylists | ( | ) |
processes the playlist entries
Definition at line 200 of file rhythmboxfeature.cpp.
bool RhythmboxFeature::isSupported | ( | ) | [static] |
void RhythmboxFeature::onLazyChildExpandation | ( | const QModelIndex & | index | ) | [virtual, slot] |
Implements LibraryFeature.
Definition at line 452 of file rhythmboxfeature.cpp.
void RhythmboxFeature::onRightClick | ( | const QPoint & | globalPos | ) | [virtual, slot] |
called when you right click on the root item
Implements LibraryFeature.
Definition at line 116 of file rhythmboxfeature.cpp.
void RhythmboxFeature::onRightClickChild | ( | const QPoint & | globalPos, |
QModelIndex | index | ||
) | [virtual, slot] |
called when you right click on a child item, e.g., a concrete playlist or crate
Implements LibraryFeature.
Definition at line 119 of file rhythmboxfeature.cpp.
void RhythmboxFeature::onTrackCollectionLoaded | ( | ) | [slot] |
Definition at line 433 of file rhythmboxfeature.cpp.
QVariant RhythmboxFeature::title | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 70 of file rhythmboxfeature.cpp.