Mixxx

SidebarModel Class Reference

#include <sidebarmodel.h>

List of all members.

Public Slots

void clicked (const QModelIndex &index)
void doubleClicked (const QModelIndex &index)
void rightClicked (const QPoint &globalPos, const QModelIndex &index)
void refreshData ()
void selectFeature (LibraryFeature *pFeature)
void slotDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
void slotRowsAboutToBeInserted (const QModelIndex &parent, int start, int end)
void slotRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
void slotRowsInserted (const QModelIndex &parent, int start, int end)
void slotRowsRemoved (const QModelIndex &parent, int start, int end)
void slotModelReset ()
void slotFeatureIsLoading (LibraryFeature *)
void slotFeatureLoadingFinished (LibraryFeature *)

Signals

void selectIndex (const QModelIndex &index)

Public Member Functions

 SidebarModel (QObject *parent=0)
virtual ~SidebarModel ()
void addLibraryFeature (LibraryFeature *feature)
QModelIndex getDefaultSelection ()
void setDefaultSelection (unsigned int index)
void activateDefaultSelection ()
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
bool dropAccept (const QModelIndex &index, QUrl url)
bool dragMoveAccept (const QModelIndex &index, QUrl url)
virtual bool hasChildren (const QModelIndex &parent=QModelIndex()) const

Detailed Description

Definition at line 14 of file sidebarmodel.h.


Constructor & Destructor Documentation

SidebarModel::SidebarModel ( QObject *  parent = 0) [explicit]

Definition at line 9 of file sidebarmodel.cpp.

SidebarModel::~SidebarModel ( ) [virtual]

Definition at line 14 of file sidebarmodel.cpp.


Member Function Documentation

void SidebarModel::activateDefaultSelection ( )

Definition at line 55 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::addLibraryFeature ( LibraryFeature feature)

Definition at line 18 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SidebarModel::clicked ( const QModelIndex &  index) [slot]

Definition at line 195 of file sidebarmodel.cpp.

Here is the call graph for this function:

int SidebarModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 146 of file sidebarmodel.cpp.

QVariant SidebarModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 170 of file sidebarmodel.cpp.

Here is the call graph for this function:

void SidebarModel::doubleClicked ( const QModelIndex &  index) [slot]

Definition at line 216 of file sidebarmodel.cpp.

Here is the call graph for this function:

bool SidebarModel::dragMoveAccept ( const QModelIndex &  index,
QUrl  url 
)

Definition at line 266 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool SidebarModel::dropAccept ( const QModelIndex &  index,
QUrl  url 
)

Definition at line 249 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QModelIndex SidebarModel::getDefaultSelection ( )

Definition at line 44 of file sidebarmodel.cpp.

Here is the caller graph for this function:

bool SidebarModel::hasChildren ( const QModelIndex &  parent = QModelIndex()) const [virtual]

Definition at line 152 of file sidebarmodel.cpp.

Here is the call graph for this function:

QModelIndex SidebarModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 71 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QModelIndex SidebarModel::parent ( const QModelIndex &  index) const

Definition at line 99 of file sidebarmodel.cpp.

Here is the call graph for this function:

void SidebarModel::refreshData ( ) [slot]

Definition at line 61 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::rightClicked ( const QPoint &  globalPos,
const QModelIndex &  index 
) [slot]

Definition at line 230 of file sidebarmodel.cpp.

Here is the call graph for this function:

int SidebarModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 129 of file sidebarmodel.cpp.

Here is the call graph for this function:

void SidebarModel::selectFeature ( LibraryFeature pFeature) [slot]

Definition at line 379 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SidebarModel::selectIndex ( const QModelIndex &  index) [signal]

Here is the caller graph for this function:

void SidebarModel::setDefaultSelection ( unsigned int  index)

Definition at line 50 of file sidebarmodel.cpp.

Here is the call graph for this function:

void SidebarModel::slotDataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
) [slot]

Definition at line 314 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::slotFeatureIsLoading ( LibraryFeature feature) [slot]

Definition at line 356 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SidebarModel::slotFeatureLoadingFinished ( LibraryFeature feature) [slot]

Definition at line 365 of file sidebarmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SidebarModel::slotModelReset ( ) [slot]

Definition at line 344 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::slotRowsAboutToBeInserted ( const QModelIndex &  parent,
int  start,
int  end 
) [slot]

Definition at line 318 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::slotRowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
) [slot]

Definition at line 325 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::slotRowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
) [slot]

Definition at line 332 of file sidebarmodel.cpp.

Here is the caller graph for this function:

void SidebarModel::slotRowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
) [slot]

Definition at line 338 of file sidebarmodel.cpp.

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