Mixxx

LibraryFeature Class Reference

#include <libraryfeature.h>

Inheritance diagram for LibraryFeature:

List of all members.

Public Slots

virtual void activate ()=0
virtual void activateChild (const QModelIndex &index)=0
virtual void onRightClick (const QPoint &globalPos)=0
virtual void onRightClickChild (const QPoint &globalPos, QModelIndex index)=0
virtual void onLazyChildExpandation (const QModelIndex &index)=0

Signals

void featureUpdated ()
void showTrackModel (QAbstractItemModel *model)
void switchToView (const QString &view)
void loadTrack (TrackPointer pTrack)
void loadTrackToPlayer (TrackPointer pTrack, QString group)
void restoreSearch (const QString &)
void featureIsLoading (LibraryFeature *)
void featureLoadingFinished (LibraryFeature *s)

Public Member Functions

 LibraryFeature (QObject *parent=NULL)
virtual QVariant title ()=0
virtual QIcon getIcon ()=0
virtual bool dropAccept (QUrl url)=0
virtual bool dropAcceptChild (const QModelIndex &index, QUrl url)=0
virtual bool dragMoveAccept (QUrl url)=0
virtual bool dragMoveAcceptChild (const QModelIndex &index, QUrl url)=0
virtual void bindWidget (WLibrarySidebar *, WLibrary *, MixxxKeyboard *)
virtual TreeItemModelgetChildModel ()=0

Detailed Description

Definition at line 24 of file libraryfeature.h.


Constructor & Destructor Documentation

LibraryFeature::LibraryFeature ( QObject *  parent = NULL)

Definition at line 8 of file libraryfeature.cpp.


Member Function Documentation

virtual void LibraryFeature::activate ( ) [pure virtual, slot]
virtual void LibraryFeature::activateChild ( const QModelIndex &  index) [pure virtual, slot]

called when you single click on a child item, e.g., a concrete playlist or crate

Implemented in AutoDJFeature, BrowseFeature, CrateFeature, ITunesFeature, MixxxLibraryFeature, PlaylistFeature, PrepareFeature, PromoTracksFeature, RecordingFeature, RhythmboxFeature, and TraktorFeature.

Here is the caller graph for this function:

virtual void LibraryFeature::bindWidget ( WLibrarySidebar ,
WLibrary ,
MixxxKeyboard  
) [inline, virtual]

Reimplemented in AutoDJFeature, CrateFeature, PlaylistFeature, PrepareFeature, PromoTracksFeature, and RecordingFeature.

Definition at line 38 of file libraryfeature.h.

Here is the caller graph for this function:

virtual bool LibraryFeature::dragMoveAccept ( QUrl  url) [pure virtual]
virtual bool LibraryFeature::dragMoveAcceptChild ( const QModelIndex &  index,
QUrl  url 
) [pure virtual]
virtual bool LibraryFeature::dropAccept ( QUrl  url) [pure virtual]
virtual bool LibraryFeature::dropAcceptChild ( const QModelIndex &  index,
QUrl  url 
) [pure virtual]
void LibraryFeature::featureIsLoading ( LibraryFeature ) [signal]

emit this signal before you parse a large music collection, e.g., iTunes, Traktor.

Here is the caller graph for this function:

void LibraryFeature::featureLoadingFinished ( LibraryFeature s) [signal]

emit this signal if the foreign music collection has been imported/parsed.

Here is the caller graph for this function:

void LibraryFeature::featureUpdated ( ) [signal]

Here is the caller graph for this function:

virtual TreeItemModel* LibraryFeature::getChildModel ( ) [pure virtual]
void LibraryFeature::loadTrack ( TrackPointer  pTrack) [signal]

Here is the caller graph for this function:

void LibraryFeature::loadTrackToPlayer ( TrackPointer  pTrack,
QString  group 
) [signal]

Here is the caller graph for this function:

virtual void LibraryFeature::onLazyChildExpandation ( const QModelIndex &  index) [pure virtual, slot]
virtual void LibraryFeature::onRightClick ( const QPoint &  globalPos) [pure virtual, slot]
virtual void LibraryFeature::onRightClickChild ( const QPoint &  globalPos,
QModelIndex  index 
) [pure virtual, slot]

called when you right click on a child item, e.g., a concrete playlist or crate

Implemented in AutoDJFeature, BrowseFeature, CrateFeature, ITunesFeature, MixxxLibraryFeature, PlaylistFeature, PrepareFeature, PromoTracksFeature, RecordingFeature, RhythmboxFeature, and TraktorFeature.

Here is the caller graph for this function:

void LibraryFeature::restoreSearch ( const QString &  ) [signal]

Here is the caller graph for this function:

void LibraryFeature::showTrackModel ( QAbstractItemModel *  model) [signal]

Here is the caller graph for this function:

void LibraryFeature::switchToView ( const QString &  view) [signal]

Here is the caller graph for this function:


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