Mixxx

MixxxLibraryFeature Class Reference

#include <mixxxlibraryfeature.h>

Inheritance diagram for MixxxLibraryFeature:
Collaboration diagram for MixxxLibraryFeature:

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

Public Member Functions

 MixxxLibraryFeature (QObject *parent, TrackCollection *pTrackCollection)
virtual ~MixxxLibraryFeature ()
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 ()

Detailed Description

Definition at line 17 of file mixxxlibraryfeature.h.


Constructor & Destructor Documentation

MixxxLibraryFeature::MixxxLibraryFeature ( QObject *  parent,
TrackCollection pTrackCollection 
)

Definition at line 17 of file mixxxlibraryfeature.cpp.

Here is the call graph for this function:

MixxxLibraryFeature::~MixxxLibraryFeature ( ) [virtual]

Definition at line 92 of file mixxxlibraryfeature.cpp.


Member Function Documentation

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

called when you single click on the root item

Implements LibraryFeature.

Definition at line 122 of file mixxxlibraryfeature.cpp.

Here is the call graph for this function:

void MixxxLibraryFeature::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 127 of file mixxxlibraryfeature.cpp.

Here is the call graph for this function:

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

Implements LibraryFeature.

Definition at line 152 of file mixxxlibraryfeature.cpp.

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

Implements LibraryFeature.

Definition at line 156 of file mixxxlibraryfeature.cpp.

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

Implements LibraryFeature.

Definition at line 144 of file mixxxlibraryfeature.cpp.

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

Implements LibraryFeature.

Definition at line 148 of file mixxxlibraryfeature.cpp.

TreeItemModel * MixxxLibraryFeature::getChildModel ( ) [virtual]

Implements LibraryFeature.

Definition at line 105 of file mixxxlibraryfeature.cpp.

QIcon MixxxLibraryFeature::getIcon ( ) [virtual]

Implements LibraryFeature.

Definition at line 101 of file mixxxlibraryfeature.cpp.

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

Implements LibraryFeature.

Definition at line 159 of file mixxxlibraryfeature.cpp.

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

called when you right click on the root item

Implements LibraryFeature.

Definition at line 137 of file mixxxlibraryfeature.cpp.

void MixxxLibraryFeature::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 140 of file mixxxlibraryfeature.cpp.

void MixxxLibraryFeature::refreshLibraryModels ( ) [slot]

Definition at line 109 of file mixxxlibraryfeature.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QVariant MixxxLibraryFeature::title ( ) [virtual]

Implements LibraryFeature.

Definition at line 97 of file mixxxlibraryfeature.cpp.


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