![]() |
Mixxx
|
#include <librarytablemodel.h>


Signals | |
| void | doSearch (const QString &searchText) |
Public Member Functions | |
| LibraryTableModel (QObject *parent, TrackCollection *pTrackCollection, QString settingsNamespace="mixxx.db.model.library") | |
| virtual | ~LibraryTableModel () |
| virtual TrackPointer | getTrack (const QModelIndex &index) const |
| virtual void | search (const QString &searchText) |
| 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) |
| QItemDelegate * | delegateForColumn (const int i) |
| TrackModel::CapabilitiesFlags | getCapabilities () const |
Static Public Attributes | |
| static const QString | DEFAULT_LIBRARYFILTER = "mixxx_deleted=0 AND fs_deleted=0" |
Definition at line 13 of file librarytablemodel.h.
| LibraryTableModel::LibraryTableModel | ( | QObject * | parent, |
| TrackCollection * | pTrackCollection, | ||
| QString | settingsNamespace = "mixxx.db.model.library" |
||
| ) |
| LibraryTableModel::~LibraryTableModel | ( | ) | [virtual] |
Definition at line 50 of file librarytablemodel.cpp.
| bool LibraryTableModel::addTrack | ( | const QModelIndex & | index, |
| QString | location | ||
| ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 53 of file librarytablemodel.cpp.

| QItemDelegate * LibraryTableModel::delegateForColumn | ( | const int | i | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 135 of file librarytablemodel.cpp.
| void LibraryTableModel::doSearch | ( | const QString & | searchText | ) | [signal] |
| TrackModel::CapabilitiesFlags LibraryTableModel::getCapabilities | ( | ) | const [virtual] |
Reimplemented from TrackModel.
Definition at line 139 of file librarytablemodel.cpp.
| TrackPointer LibraryTableModel::getTrack | ( | const QModelIndex & | index | ) | const [virtual] |
Enables us to do ORing
Implements TrackModel.
Definition at line 67 of file librarytablemodel.cpp.

| bool LibraryTableModel::isColumnHiddenByDefault | ( | int | column | ) | [virtual] |
Implements TrackModel.
Definition at line 129 of file librarytablemodel.cpp.

| bool LibraryTableModel::isColumnInternal | ( | int | column | ) | [virtual] |
Implements TrackModel.
Reimplemented in PrepareLibraryTableModel.
Definition at line 112 of file librarytablemodel.cpp.

| void LibraryTableModel::moveTrack | ( | const QModelIndex & | sourceIndex, |
| const QModelIndex & | destIndex | ||
| ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 95 of file librarytablemodel.cpp.
| void LibraryTableModel::removeTrack | ( | const QModelIndex & | index | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 87 of file librarytablemodel.cpp.

| void LibraryTableModel::removeTracks | ( | const QModelIndexList & | indices | ) | [virtual] |
Reimplemented from TrackModel.
Definition at line 72 of file librarytablemodel.cpp.

| void LibraryTableModel::search | ( | const QString & | searchText | ) | [virtual] |
Implements TrackModel.
Reimplemented in PrepareLibraryTableModel.
Definition at line 101 of file librarytablemodel.cpp.

const QString LibraryTableModel::DEFAULT_LIBRARYFILTER = "mixxx_deleted=0 AND fs_deleted=0" [static] |
Definition at line 32 of file librarytablemodel.h.