Mixxx

PlaylistFeature Class Reference

#include <playlistfeature.h>

Inheritance diagram for PlaylistFeature:
Collaboration diagram for PlaylistFeature:

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)
void slotCreatePlaylist ()
void slotDeletePlaylist ()
void slotAddToAutoDJ ()
void slotRenamePlaylist ()
void slotTogglePlaylistLock ()
void slotImportPlaylist ()
void slotExportPlaylist ()

Signals

void showPage (const QUrl &page)

Public Member Functions

 PlaylistFeature (QObject *parent, TrackCollection *pTrackCollection, ConfigObject< ConfigValue > *pConfig)
virtual ~PlaylistFeature ()
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)
TreeItemModelgetChildModel ()
void bindWidget (WLibrarySidebar *sidebarWidget, WLibrary *libraryWidget, MixxxKeyboard *keyboard)

Detailed Description

Definition at line 21 of file playlistfeature.h.


Constructor & Destructor Documentation

PlaylistFeature::PlaylistFeature ( QObject *  parent,
TrackCollection pTrackCollection,
ConfigObject< ConfigValue > *  pConfig 
)

Definition at line 22 of file playlistfeature.cpp.

Here is the call graph for this function:

PlaylistFeature::~PlaylistFeature ( ) [virtual]

Definition at line 74 of file playlistfeature.cpp.


Member Function Documentation

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

called when you single click on the root item

Implements LibraryFeature.

Definition at line 102 of file playlistfeature.cpp.

Here is the call graph for this function:

void PlaylistFeature::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 107 of file playlistfeature.cpp.

Here is the call graph for this function:

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

Reimplemented from LibraryFeature.

Definition at line 93 of file playlistfeature.cpp.

Here is the call graph for this function:

bool PlaylistFeature::dragMoveAccept ( QUrl  url) [virtual]

Implements LibraryFeature.

Definition at line 336 of file playlistfeature.cpp.

bool PlaylistFeature::dragMoveAcceptChild ( const QModelIndex &  index,
QUrl  url 
) [virtual]

Implements LibraryFeature.

Definition at line 340 of file playlistfeature.cpp.

Here is the call graph for this function:

bool PlaylistFeature::dropAccept ( QUrl  url) [virtual]

Implements LibraryFeature.

Definition at line 300 of file playlistfeature.cpp.

bool PlaylistFeature::dropAcceptChild ( const QModelIndex &  index,
QUrl  url 
) [virtual]

Implements LibraryFeature.

Definition at line 304 of file playlistfeature.cpp.

Here is the call graph for this function:

TreeItemModel * PlaylistFeature::getChildModel ( ) [virtual]

Implements LibraryFeature.

Definition at line 352 of file playlistfeature.cpp.

QIcon PlaylistFeature::getIcon ( ) [virtual]

Implements LibraryFeature.

Definition at line 88 of file playlistfeature.cpp.

void PlaylistFeature::onLazyChildExpandation ( const QModelIndex &  index) [virtual, slot]

Implements LibraryFeature.

Definition at line 429 of file playlistfeature.cpp.

void PlaylistFeature::onRightClick ( const QPoint &  globalPos) [virtual, slot]

called when you right click on the root item

Implements LibraryFeature.

Definition at line 117 of file playlistfeature.cpp.

void PlaylistFeature::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 126 of file playlistfeature.cpp.

Here is the call graph for this function:

void PlaylistFeature::showPage ( const QUrl &  page) [signal]

Here is the caller graph for this function:

void PlaylistFeature::slotAddToAutoDJ ( ) [slot]

Definition at line 482 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotCreatePlaylist ( ) [slot]

Definition at line 154 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotDeletePlaylist ( ) [slot]

Definition at line 276 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotExportPlaylist ( ) [slot]

Definition at line 433 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotImportPlaylist ( ) [slot]

Definition at line 393 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotRenamePlaylist ( ) [slot]

Definition at line 207 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PlaylistFeature::slotTogglePlaylistLock ( ) [slot]

Definition at line 262 of file playlistfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QVariant PlaylistFeature::title ( ) [virtual]

Implements LibraryFeature.

Definition at line 84 of file playlistfeature.cpp.


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