![]() |
Mixxx
|
00001 #ifndef PREPARELIBRARYTABLEMODEL_H_ 00002 #define PREPARELIBRARYTABLEMODEL_H_ 00003 00004 #include <QModelIndexList> 00005 #include "librarytablemodel.h" 00006 00007 class PrepareLibraryTableModel : public LibraryTableModel 00008 { 00009 Q_OBJECT 00010 public: 00011 PrepareLibraryTableModel(QObject* parent, TrackCollection* pTrackCollection); 00012 virtual ~PrepareLibraryTableModel(); 00013 00014 virtual void search(const QString& searchText); 00015 virtual bool isColumnInternal(int column); 00016 00017 public slots: 00018 void showRecentSongs(); 00019 void showAllSongs(); 00020 private slots: 00021 void slotSearch(const QString& searchText); 00022 signals: 00023 void doSearch(const QString& searchText); 00024 private: 00025 bool m_bShowRecentSongs; 00026 }; 00027 00028 #endif