Mixxx

ProxyTrackModel Class Reference

#include <proxytrackmodel.h>

Inheritance diagram for ProxyTrackModel:
Collaboration diagram for ProxyTrackModel:

List of all members.

Public Member Functions

 ProxyTrackModel (QAbstractItemModel *pTrackModel, bool bHandleSearches=true)
virtual ~ProxyTrackModel ()
virtual TrackPointer getTrack (const QModelIndex &index) const
virtual QString getTrackLocation (const QModelIndex &index) const
virtual int getTrackId (const QModelIndex &index) const
virtual const QLinkedList< int > getTrackRows (int trackId) const
virtual void search (const QString &searchText)
virtual const QString currentSearch () const
virtual bool isColumnInternal (int column)
virtual bool isColumnHiddenByDefault (int column)
virtual void removeTrack (const QModelIndex &index)
virtual void removeTracks (const QModelIndexList &indices)
virtual bool addTrack (const QModelIndex &index, QString location)
virtual void moveTrack (const QModelIndex &sourceIndex, const QModelIndex &destIndex)
virtual QItemDelegate * delegateForColumn (const int i)
virtual
TrackModel::CapabilitiesFlags 
getCapabilities () const
bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
virtual QString getModelSetting (QString name)
virtual bool setModelSetting (QString name, QVariant value)

Detailed Description

Definition at line 19 of file proxytrackmodel.h.


Constructor & Destructor Documentation

ProxyTrackModel::ProxyTrackModel ( QAbstractItemModel *  pTrackModel,
bool  bHandleSearches = true 
)

Definition at line 9 of file proxytrackmodel.cpp.

ProxyTrackModel::~ProxyTrackModel ( ) [virtual]

Definition at line 20 of file proxytrackmodel.cpp.


Member Function Documentation

bool ProxyTrackModel::addTrack ( const QModelIndex &  index,
QString  location 
) [virtual]

Reimplemented from TrackModel.

Definition at line 80 of file proxytrackmodel.cpp.

Here is the call graph for this function:

const QString ProxyTrackModel::currentSearch ( ) const [virtual]

Implements TrackModel.

Definition at line 51 of file proxytrackmodel.cpp.

Here is the call graph for this function:

QItemDelegate * ProxyTrackModel::delegateForColumn ( const int  i) [virtual]

Reimplemented from TrackModel.

Definition at line 92 of file proxytrackmodel.cpp.

Here is the call graph for this function:

bool ProxyTrackModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const

Definition at line 100 of file proxytrackmodel.cpp.

Here is the call graph for this function:

TrackModel::CapabilitiesFlags ProxyTrackModel::getCapabilities ( ) const [virtual]

Reimplemented from TrackModel.

Definition at line 96 of file proxytrackmodel.cpp.

Here is the call graph for this function:

QString ProxyTrackModel::getModelSetting ( QString  name) [virtual]

Reimplemented from TrackModel.

Definition at line 127 of file proxytrackmodel.cpp.

Here is the call graph for this function:

TrackPointer ProxyTrackModel::getTrack ( const QModelIndex &  index) const [virtual]

Enables us to do ORing

Implements TrackModel.

Definition at line 32 of file proxytrackmodel.cpp.

Here is the call graph for this function:

int ProxyTrackModel::getTrackId ( const QModelIndex &  index) const [virtual]

Implements TrackModel.

Definition at line 23 of file proxytrackmodel.cpp.

Here is the call graph for this function:

QString ProxyTrackModel::getTrackLocation ( const QModelIndex &  index) const [virtual]

Implements TrackModel.

Definition at line 37 of file proxytrackmodel.cpp.

Here is the call graph for this function:

const QLinkedList< int > ProxyTrackModel::getTrackRows ( int  trackId) const [virtual]

Implements TrackModel.

Definition at line 28 of file proxytrackmodel.cpp.

Here is the call graph for this function:

bool ProxyTrackModel::isColumnHiddenByDefault ( int  column) [virtual]

Implements TrackModel.

Definition at line 62 of file proxytrackmodel.cpp.

Here is the call graph for this function:

bool ProxyTrackModel::isColumnInternal ( int  column) [virtual]

Implements TrackModel.

Definition at line 58 of file proxytrackmodel.cpp.

Here is the call graph for this function:

void ProxyTrackModel::moveTrack ( const QModelIndex &  sourceIndex,
const QModelIndex &  destIndex 
) [virtual]

Reimplemented from TrackModel.

Definition at line 85 of file proxytrackmodel.cpp.

Here is the call graph for this function:

void ProxyTrackModel::removeTrack ( const QModelIndex &  index) [virtual]

Reimplemented from TrackModel.

Definition at line 66 of file proxytrackmodel.cpp.

Here is the call graph for this function:

void ProxyTrackModel::removeTracks ( const QModelIndexList &  indices) [virtual]

Reimplemented from TrackModel.

Definition at line 71 of file proxytrackmodel.cpp.

Here is the call graph for this function:

void ProxyTrackModel::search ( const QString &  searchText) [virtual]

Implements TrackModel.

Definition at line 42 of file proxytrackmodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ProxyTrackModel::setModelSetting ( QString  name,
QVariant  value 
) [virtual]

Reimplemented from TrackModel.

Definition at line 133 of file proxytrackmodel.cpp.

Here is the call 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