~keithsalisbury/mixxx/mixxx

« back to all changes in this revision

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

  • Committer: Keith Salisbury
  • Date: 2012-03-19 03:04:55 UTC
  • Revision ID: keithsalisbury@gmail.com-20120319030455-mfwgevo5q18eonwi
both Genre and BPM now work with Deck 1 - need to come up with a way to look through all the decks

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include <QModelIndexList>
7
7
#include "librarytablemodel.h"
8
8
 
 
9
 
9
10
class SelectorLibraryTableModel : public LibraryTableModel
10
11
{
11
12
    Q_OBJECT
21
22
    void filterByBpm();
22
23
  private slots:
23
24
    void slotSearch(const QString& searchText);
 
25
    void slotFilterByGenre(const QString& genre);
 
26
    void slotFilterByBpm(const float& bpm);
24
27
  signals:
25
28
    void doSearch(const QString& searchText);
 
29
    void doFilterByGenre(const QString& genre);
 
30
    void doFilterByBpm(const float& bpm);
26
31
  private:
27
 
    bool m_bShowRecentSongs;
 
32
    QString currentGenre() const;
 
33
    //void filterByGenre();
 
34
    float currentBpm() const;
 
35
    //void filterByBpm();
28
36
};
29
37
 
30
38
#endif
 
39
 
 
40
 
 
41