![]() |
Mixxx
|
#include <mixxxlibraryfeature.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 | refreshLibraryModels () |
Public Member Functions | |
MixxxLibraryFeature (QObject *parent, TrackCollection *pTrackCollection) | |
virtual | ~MixxxLibraryFeature () |
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 () |
Definition at line 17 of file mixxxlibraryfeature.h.
MixxxLibraryFeature::MixxxLibraryFeature | ( | QObject * | parent, |
TrackCollection * | pTrackCollection | ||
) |
MixxxLibraryFeature::~MixxxLibraryFeature | ( | ) | [virtual] |
Definition at line 92 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::activate | ( | ) | [virtual, slot] |
called when you single click on the root item
Implements LibraryFeature.
Definition at line 122 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::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 127 of file mixxxlibraryfeature.cpp.
bool MixxxLibraryFeature::dragMoveAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 152 of file mixxxlibraryfeature.cpp.
bool MixxxLibraryFeature::dragMoveAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 156 of file mixxxlibraryfeature.cpp.
bool MixxxLibraryFeature::dropAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 144 of file mixxxlibraryfeature.cpp.
bool MixxxLibraryFeature::dropAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 148 of file mixxxlibraryfeature.cpp.
TreeItemModel * MixxxLibraryFeature::getChildModel | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 105 of file mixxxlibraryfeature.cpp.
QIcon MixxxLibraryFeature::getIcon | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 101 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::onLazyChildExpandation | ( | const QModelIndex & | index | ) | [virtual, slot] |
Implements LibraryFeature.
Definition at line 159 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::onRightClick | ( | const QPoint & | globalPos | ) | [virtual, slot] |
called when you right click on the root item
Implements LibraryFeature.
Definition at line 137 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::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 140 of file mixxxlibraryfeature.cpp.
void MixxxLibraryFeature::refreshLibraryModels | ( | ) | [slot] |
Definition at line 109 of file mixxxlibraryfeature.cpp.
QVariant MixxxLibraryFeature::title | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 97 of file mixxxlibraryfeature.cpp.