qtinternetradio/ui/inc/irsonghistorymodel.h
changeset 17 38bbf2dcd608
parent 5 0930554dc389
equal deleted inserted replaced
16:5723da102db1 17:38bbf2dcd608
    17 
    17 
    18 #ifndef IRSONGHISTORYMODEL_H_
    18 #ifndef IRSONGHISTORYMODEL_H_
    19 #define IRSONGHISTORYMODEL_H_
    19 #define IRSONGHISTORYMODEL_H_
    20 
    20 
    21 #include <QAbstractItemModel>
    21 #include <QAbstractItemModel>
    22 
    22  
    23 class IRQSongHistoryEngine;
       
    24 class IRQSongInfo;
    23 class IRQSongInfo;
    25 class IRQMetaData;
    24 class IRQMetaData;
       
    25 class songHistoryWrapper;
    26 
    26 
    27 class IRSongHistoryModel : public QAbstractListModel
    27 class IRSongHistoryModel : public QAbstractListModel
    28 {
    28 {
    29 Q_OBJECT
    29 Q_OBJECT
    30 public:
    30 public:
    45 
    45 
    46 private:
    46 private:
    47     void getAllList();
    47     void getAllList();
    48 
    48 
    49 private:
    49 private:
    50     QList<IRQSongInfo *> mSongHistoryList;
    50     QList<IRQSongInfo *> mSongHistoryList;     
    51     IRQSongHistoryEngine *mHistoryEngine;  
       
    52     Qt::Orientation mOrientation;
    51     Qt::Orientation mOrientation;
       
    52     songHistoryWrapper *mHistoryWrapper;
    53 };
    53 };
    54 
    54 
    55 #endif 
    55 #endif