Mixxx

CrateFeature Class Reference

#include <cratefeature.h>

Inheritance diagram for CrateFeature:
Collaboration diagram for CrateFeature:

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 slotCreateCrate ()
void slotDeleteCrate ()
void slotRenameCrate ()
void slotToggleCrateLock ()
void slotImportPlaylist ()
void slotExportPlaylist ()

Signals

void showPage (const QUrl &page)

Public Member Functions

 CrateFeature (QObject *parent, TrackCollection *pTrackCollection, ConfigObject< ConfigValue > *pConfig)
virtual ~CrateFeature ()
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 ()

Detailed Description

Definition at line 16 of file cratefeature.h.


Constructor & Destructor Documentation

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

Definition at line 22 of file cratefeature.cpp.

Here is the call graph for this function:

CrateFeature::~CrateFeature ( ) [virtual]

Definition at line 63 of file cratefeature.cpp.


Member Function Documentation

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

called when you single click on the root item

Implements LibraryFeature.

Definition at line 137 of file cratefeature.cpp.

Here is the call graph for this function:

void CrateFeature::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 142 of file cratefeature.cpp.

Here is the call graph for this function:

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

Reimplemented from LibraryFeature.

Definition at line 122 of file cratefeature.cpp.

Here is the call graph for this function:

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

Implements LibraryFeature.

Definition at line 105 of file cratefeature.cpp.

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

Implements LibraryFeature.

Definition at line 110 of file cratefeature.cpp.

Here is the call graph for this function:

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

Implements LibraryFeature.

Definition at line 80 of file cratefeature.cpp.

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

Implements LibraryFeature.

Definition at line 84 of file cratefeature.cpp.

Here is the call graph for this function:

TreeItemModel * CrateFeature::getChildModel ( ) [virtual]

Implements LibraryFeature.

Definition at line 133 of file cratefeature.cpp.

QIcon CrateFeature::getIcon ( ) [virtual]

Implements LibraryFeature.

Definition at line 76 of file cratefeature.cpp.

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

Implements LibraryFeature.

Definition at line 415 of file cratefeature.cpp.

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

called when you right click on the root item

Implements LibraryFeature.

Definition at line 151 of file cratefeature.cpp.

void CrateFeature::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 158 of file cratefeature.cpp.

Here is the call graph for this function:

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

Here is the caller graph for this function:

void CrateFeature::slotCreateCrate ( ) [slot]

Definition at line 185 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CrateFeature::slotDeleteCrate ( ) [slot]

Definition at line 242 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CrateFeature::slotExportPlaylist ( ) [slot]

Definition at line 420 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CrateFeature::slotImportPlaylist ( ) [slot]

Definition at line 376 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CrateFeature::slotRenameCrate ( ) [slot]

Definition at line 265 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CrateFeature::slotToggleCrateLock ( ) [slot]

Definition at line 321 of file cratefeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QVariant CrateFeature::title ( ) [virtual]

Implements LibraryFeature.

Definition at line 72 of file cratefeature.cpp.


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