Mixxx

PromoTracksFeature Class Reference

#include <promotracksfeature.h>

Inheritance diagram for PromoTracksFeature:
Collaboration diagram for PromoTracksFeature:

List of all members.

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< TrackPointergetTracksToAutoLoad ()
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)
TreeItemModelgetChildModel ()

Static Public Member Functions

static bool isSupported (ConfigObject< ConfigValue > *config)

Detailed Description

Definition at line 39 of file promotracksfeature.h.


Constructor & Destructor Documentation

PromoTracksFeature::PromoTracksFeature ( QObject *  parent,
ConfigObject< ConfigValue > *  pConfig,
TrackCollection pTrackCollection,
bool  firstRun 
)

Definition at line 41 of file promotracksfeature.cpp.

Here is the call graph for this function:

PromoTracksFeature::~PromoTracksFeature ( ) [virtual]

Definition at line 112 of file promotracksfeature.cpp.


Member Function Documentation

void PromoTracksFeature::activate ( ) [virtual, slot]

called when you single click on the root item

Implements LibraryFeature.

Definition at line 169 of file promotracksfeature.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void PromoTracksFeature::bindWidget ( WLibrarySidebar sidebarWidget,
WLibrary libraryWidget,
MixxxKeyboard keyboard 
) [virtual]

Reimplemented from LibraryFeature.

Definition at line 134 of file promotracksfeature.cpp.

Here is the call graph for this function:

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 ( )

Definition at line 129 of file promotracksfeature.cpp.

Here is the caller graph for this function:

bool PromoTracksFeature::isSupported ( ConfigObject< ConfigValue > *  config) [static]

Definition at line 123 of file promotracksfeature.cpp.

Here is the caller graph for this function:

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines