![]() |
Mixxx
|
#include <browsetablemodel.h>
Public Slots | |
void | slotClear (BrowseTableModel *) |
void | slotInsert (const QList< QList< QStandardItem * > > &, BrowseTableModel *) |
Public Member Functions | |
BrowseTableModel (QObject *parent, TrackCollection *pTrackCollection, RecordingManager *pRec) | |
virtual | ~BrowseTableModel () |
void | setPath (QString absPath) |
virtual TrackPointer | getTrack (const QModelIndex &index) const |
virtual QString | getTrackLocation (const QModelIndex &index) const |
virtual int | getTrackId (const QModelIndex &index) const |
TrackModel::CapabilitiesFlags | getCapabilities () const |
virtual const QLinkedList< int > | getTrackRows (int trackId) const |
virtual void | search (const QString &searchText) |
virtual void | removeTrack (const QModelIndex &index) |
virtual void | removeTracks (const QModelIndexList &indices) |
virtual bool | addTrack (const QModelIndex &index, QString location) |
virtual QMimeData * | mimeData (const QModelIndexList &indexes) const |
virtual const QString | currentSearch () const |
virtual bool | isColumnInternal (int) |
virtual void | moveTrack (const QModelIndex &, const QModelIndex &) |
virtual QItemDelegate * | delegateForColumn (const int) |
virtual bool | isColumnHiddenByDefault (int column) |
virtual const QList< int > & | searchColumns () const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Definition at line 33 of file browsetablemodel.h.
BrowseTableModel::BrowseTableModel | ( | QObject * | parent, |
TrackCollection * | pTrackCollection, | ||
RecordingManager * | pRec | ||
) |
BrowseTableModel::~BrowseTableModel | ( | ) | [virtual] |
Definition at line 65 of file browsetablemodel.cpp.
bool BrowseTableModel::addTrack | ( | const QModelIndex & | index, |
QString | location | ||
) | [virtual] |
Reimplemented from TrackModel.
Definition at line 214 of file browsetablemodel.cpp.
const QString BrowseTableModel::currentSearch | ( | ) | const [virtual] |
Implements TrackModel.
Definition at line 130 of file browsetablemodel.cpp.
QItemDelegate * BrowseTableModel::delegateForColumn | ( | const int | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 146 of file browsetablemodel.cpp.
Qt::ItemFlags BrowseTableModel::flags | ( | const QModelIndex & | index | ) | const [virtual] |
TrackModel::CapabilitiesFlags BrowseTableModel::getCapabilities | ( | ) | const [virtual] |
Reimplemented from TrackModel.
Definition at line 266 of file browsetablemodel.cpp.
TrackPointer BrowseTableModel::getTrack | ( | const QModelIndex & | index | ) | const [virtual] |
Enables us to do ORing
Implements TrackModel.
Definition at line 85 of file browsetablemodel.cpp.
int BrowseTableModel::getTrackId | ( | const QModelIndex & | index | ) | const [virtual] |
Implements TrackModel.
Definition at line 114 of file browsetablemodel.cpp.
QString BrowseTableModel::getTrackLocation | ( | const QModelIndex & | index | ) | const [virtual] |
Implements TrackModel.
Definition at line 105 of file browsetablemodel.cpp.
const QLinkedList< int > BrowseTableModel::getTrackRows | ( | int | trackId | ) | const [virtual] |
Implements TrackModel.
Definition at line 120 of file browsetablemodel.cpp.
bool BrowseTableModel::isColumnHiddenByDefault | ( | int | column | ) | [virtual] |
Implements TrackModel.
Definition at line 138 of file browsetablemodel.cpp.
bool BrowseTableModel::isColumnInternal | ( | int | ) | [virtual] |
Implements TrackModel.
Definition at line 134 of file browsetablemodel.cpp.
QMimeData * BrowseTableModel::mimeData | ( | const QModelIndexList & | indexes | ) | const [virtual] |
void BrowseTableModel::moveTrack | ( | const QModelIndex & | , |
const QModelIndex & | |||
) | [virtual] |
Reimplemented from TrackModel.
Definition at line 142 of file browsetablemodel.cpp.
void BrowseTableModel::removeTrack | ( | const QModelIndex & | index | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 150 of file browsetablemodel.cpp.
void BrowseTableModel::removeTracks | ( | const QModelIndexList & | indices | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 160 of file browsetablemodel.cpp.
void BrowseTableModel::search | ( | const QString & | searchText | ) | [virtual] |
Implements TrackModel.
Definition at line 126 of file browsetablemodel.cpp.
const QList< int > & BrowseTableModel::searchColumns | ( | ) | const [virtual] |
Reimplemented from TrackModel.
Definition at line 70 of file browsetablemodel.cpp.
bool BrowseTableModel::setData | ( | const QModelIndex & | index, |
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) | [virtual] |
void BrowseTableModel::setPath | ( | QString | absPath | ) |
Definition at line 78 of file browsetablemodel.cpp.
void BrowseTableModel::slotClear | ( | BrowseTableModel * | caller_object | ) | [slot] |
void BrowseTableModel::slotInsert | ( | const QList< QList< QStandardItem * > > & | rows, |
BrowseTableModel * | caller_object | ||
) | [slot] |