![]() |
Mixxx
|
#include <promotracksfeature.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) |
Public Member Functions | |
PromoTracksFeature (QObject *parent, ConfigObject< ConfigValue > *pConfig, TrackCollection *pTrackCollection, bool firstRun) | |
virtual | ~PromoTracksFeature () |
QList< TrackPointer > | getTracksToAutoLoad () |
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) |
void | bindWidget (WLibrarySidebar *sidebarWidget, WLibrary *libraryWidget, MixxxKeyboard *keyboard) |
TreeItemModel * | getChildModel () |
Static Public Member Functions | |
static bool | isSupported (ConfigObject< ConfigValue > *config) |
Definition at line 39 of file promotracksfeature.h.
PromoTracksFeature::PromoTracksFeature | ( | QObject * | parent, |
ConfigObject< ConfigValue > * | pConfig, | ||
TrackCollection * | pTrackCollection, | ||
bool | firstRun | ||
) |
PromoTracksFeature::~PromoTracksFeature | ( | ) | [virtual] |
Definition at line 112 of file promotracksfeature.cpp.
void PromoTracksFeature::activate | ( | ) | [virtual, slot] |
called when you single click on the root item
Implements LibraryFeature.
Definition at line 169 of file promotracksfeature.cpp.
void PromoTracksFeature::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 175 of file promotracksfeature.cpp.
void PromoTracksFeature::bindWidget | ( | WLibrarySidebar * | sidebarWidget, |
WLibrary * | libraryWidget, | ||
MixxxKeyboard * | keyboard | ||
) | [virtual] |
Reimplemented from LibraryFeature.
Definition at line 134 of file promotracksfeature.cpp.
bool PromoTracksFeature::dragMoveAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 200 of file promotracksfeature.cpp.
bool PromoTracksFeature::dragMoveAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 204 of file promotracksfeature.cpp.
bool PromoTracksFeature::dropAccept | ( | QUrl | url | ) | [virtual] |
Implements LibraryFeature.
Definition at line 192 of file promotracksfeature.cpp.
bool PromoTracksFeature::dropAcceptChild | ( | const QModelIndex & | index, |
QUrl | url | ||
) | [virtual] |
Implements LibraryFeature.
Definition at line 196 of file promotracksfeature.cpp.
TreeItemModel * PromoTracksFeature::getChildModel | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 163 of file promotracksfeature.cpp.
QIcon PromoTracksFeature::getIcon | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 119 of file promotracksfeature.cpp.
QList< TrackPointer > PromoTracksFeature::getTracksToAutoLoad | ( | ) |
bool PromoTracksFeature::isSupported | ( | ConfigObject< ConfigValue > * | config | ) | [static] |
void PromoTracksFeature::onLazyChildExpandation | ( | const QModelIndex & | index | ) | [virtual, slot] |
Implements LibraryFeature.
Definition at line 208 of file promotracksfeature.cpp.
void PromoTracksFeature::onRightClick | ( | const QPoint & | globalPos | ) | [virtual, slot] |
called when you right click on the root item
Implements LibraryFeature.
Definition at line 185 of file promotracksfeature.cpp.
void PromoTracksFeature::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 188 of file promotracksfeature.cpp.
QVariant PromoTracksFeature::title | ( | ) | [virtual] |
Implements LibraryFeature.
Definition at line 115 of file promotracksfeature.cpp.