~mixxxdevelopers/mixxx/mixxx-buildserver

« back to all changes in this revision

Viewing changes to mixxx/src/library/basesqltablemodel.h

  • Committer: Albert Santoni
  • Date: 2011-03-20 00:27:15 UTC
  • mfrom: (2607.1.162 mixxx-1.9)
  • Revision ID: alberts@mixxx.org-20110320002715-sa2d88zbuc5kkyya
MergedĀ fromĀ 1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    virtual Qt::ItemFlags readWriteFlags(const QModelIndex &index) const;
31
31
    /** calls readWriteFlags() by default */
32
32
    virtual Qt::ItemFlags flags(const QModelIndex &index) const;
 
33
 
 
34
    // Returns the row of trackId in this result set. If trackId is not present,
 
35
    // returns -1.
 
36
    virtual int getTrackRow(int trackId) const;
 
37
 
33
38
  protected:
34
39
    virtual QString orderByClause() const;
35
40
    virtual void initHeaderData();
 
41
 
36
42
  private slots:
37
43
    void trackChanged(int trackId);
 
44
    void trackClean(int trackId);
38
45
  private:
39
46
    QVariant getBaseValue(const QModelIndex& index, int role = Qt::DisplayRole) const;
40
47