gstreamer_test_apps/QtGSTPlayer/folderview.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1 #ifndef FOLDERVIEW_H
       
     2 #define FOLDERVIEW_H
       
     3 
       
     4 #include <hbview.h>
       
     5 //#include <hbformview.h>
       
     6 
       
     7 #include "record_play.h"
       
     8 
       
     9 QT_BEGIN_NAMESPACE
       
    10 class QDirModel;
       
    11 QT_END_NAMESPACE
       
    12 
       
    13 //class HbFormItem;
       
    14 class HbListView;
       
    15 
       
    16 class FolderView : public HbView
       
    17 {
       
    18     Q_OBJECT
       
    19 
       
    20 public:
       
    21     explicit FolderView(QGraphicsItem *parent = 0);
       
    22     ~FolderView();
       
    23 public slots:
       
    24     void folderViewTriggered();
       
    25     //void settingsViewTriggered();
       
    26     void item_pressed(const QModelIndex &index);
       
    27 //
       
    28     void record_AMR();
       
    29     void record_WAV();
       
    30     void record_RAW();
       
    31     void record_G711();
       
    32     void record_G729();
       
    33     void record_ILBC();
       
    34     void record_AAC();
       
    35 
       
    36     void pause();
       
    37     void resume();
       
    38     void stop();
       
    39     void timertimeout();
       
    40     void showNote(const int err);
       
    41 
       
    42 //void record_file( int type );
       
    43 
       
    44 
       
    45 private:
       
    46     HbListView *mFileList;
       
    47 
       
    48 //signals:
       
    49 //    void pressed(const QModelIndex &index);
       
    50 //    void released(const QModelIndex &index);
       
    51 //    void activated(const QModelIndex &index);
       
    52 //    void longPressed(HbAbstractViewItem *item, const QPointF &coords);
       
    53 
       
    54     QDirModel *mModel;
       
    55     QString mFolderPath;
       
    56     QTimer *mTimer;
       
    57     bool mIsRecording;
       
    58     
       
    59     
       
    60     //state st;
       
    61 
       
    62 };
       
    63 
       
    64 #endif // FOLDERVIEW_H