Mixxx

LibraryTableModel Class Reference

#include <librarytablemodel.h>

Inheritance diagram for LibraryTableModel:
Collaboration diagram for LibraryTableModel:

List of all members.

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"

Detailed Description

Definition at line 13 of file librarytablemodel.h.


Constructor & Destructor Documentation

LibraryTableModel::LibraryTableModel ( QObject *  parent,
TrackCollection pTrackCollection,
QString  settingsNamespace = "mixxx.db.model.library" 
)

Definition at line 14 of file librarytablemodel.cpp.

Here is the call graph for this function:

LibraryTableModel::~LibraryTableModel ( ) [virtual]

Definition at line 50 of file librarytablemodel.cpp.


Member Function Documentation

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

Reimplemented from TrackModel.

Definition at line 53 of file librarytablemodel.cpp.

Here is the call graph for this function:

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]

Reimplemented in PrepareLibraryTableModel.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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

Implements TrackModel.

Definition at line 129 of file librarytablemodel.cpp.

Here is the call graph for this function:

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

Implements TrackModel.

Reimplemented in PrepareLibraryTableModel.

Definition at line 112 of file librarytablemodel.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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

Reimplemented from TrackModel.

Definition at line 72 of file librarytablemodel.cpp.

Here is the call graph for this function:

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

Implements TrackModel.

Reimplemented in PrepareLibraryTableModel.

Definition at line 101 of file librarytablemodel.cpp.

Here is the call graph for this function:


Member Data Documentation

const QString LibraryTableModel::DEFAULT_LIBRARYFILTER = "mixxx_deleted=0 AND fs_deleted=0" [static]

Definition at line 32 of file librarytablemodel.h.


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