~mutil/mixxx/librarycover

« back to all changes in this revision

Viewing changes to mixxx/src/library/browse/browsetablemodel.h

  • Committer: mutil
  • Date: 2012-06-21 04:45:27 UTC
  • mfrom: (3185.1.87 trunk)
  • Revision ID: mutil@freemail.gr-20120621044527-fe16mcb1qvxgxutv
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
const int COLUMN_BITRATE = 13;
27
27
const int COLUMN_LOCATION = 14;
28
28
 
29
 
/*
30
 
 * The BrowseTable models displays tracks
31
 
 * of given directory on the HDD.
32
 
 * Usage: Recording and Browse feature.
33
 
 */
 
29
// The BrowseTable models displays tracks
 
30
// of given directory on the HDD.
 
31
// Usage: Recording and Browse feature.
34
32
class BrowseTableModel : public QStandardItemModel, public virtual TrackModel {
35
33
    Q_OBJECT
36
34
 
44
42
    virtual int getTrackId(const QModelIndex& index) const;
45
43
    TrackModel::CapabilitiesFlags getCapabilities() const;
46
44
    virtual const QLinkedList<int> getTrackRows(int trackId) const;
47
 
                virtual void search(const QString& searchText);
48
 
                virtual void removeTrack(const QModelIndex& index);
 
45
    virtual void search(const QString& searchText);
 
46
    virtual void removeTrack(const QModelIndex& index);
49
47
    virtual void removeTracks(const QModelIndexList& indices);
50
48
    virtual bool addTrack(const QModelIndex& index, QString location);
51
49
    virtual QMimeData* mimeData(const QModelIndexList &indexes) const;