filemanager/src/filemanager/src/fmdriverlistwidget.h
changeset 25 b7bfdea70ca2
parent 14 1957042d8c7e
child 32 39cf9ced4cc4
equal deleted inserted replaced
16:ada7962b4308 25:b7bfdea70ca2
    21 
    21 
    22 #include "fmcommon.h"
    22 #include "fmcommon.h"
    23 #include "fmoperationservice.h"
    23 #include "fmoperationservice.h"
    24 #include <hbwidget.h>
    24 #include <hbwidget.h>
    25 
    25 
    26 class QFileSystemWatcher;
    26 class FmDriveModel;
    27 class HbListView;
    27 class HbListView;
    28 class HbAbstractViewItem;
    28 class HbAbstractViewItem;
    29 class HbSearchPanel;
    29 class HbSearchPanel;
    30 class FmDriveModel;
    30 class HbMenu;
       
    31 class QFileSystemWatcher;
    31 
    32 
    32 class QGraphicsLinearLayout;
    33 class QGraphicsLinearLayout;
    33 
    34 
    34 class FmDriverListWidget : public HbWidget
    35 class FmDriverListWidget : public HbWidget
    35 {
    36 {
    48 	void startSearch( const QString &targetPath, const QString &criteria );
    49 	void startSearch( const QString &targetPath, const QString &criteria );
    49     
    50     
    50 private slots:
    51 private slots:
    51 	void on_list_activated( const QModelIndex &index );
    52 	void on_list_activated( const QModelIndex &index );
    52     void on_list_longPressed( HbAbstractViewItem *item, const QPointF &coords );
    53     void on_list_longPressed( HbAbstractViewItem *item, const QPointF &coords );
       
    54     void on_list_pressed( const QModelIndex &  index ) ;
    53 
    55 
    54     void on_viewAction_triggered();
    56     void on_viewAction_triggered();
    55     void on_renameAction_triggered();
    57     void on_renameAction_triggered();
    56     void on_nameAction_triggered();
    58     void on_nameAction_triggered();
    57     void on_changePwdAction_triggered();
    59     void on_changePwdAction_triggered();
    77     FmOperationService *mOperationService;
    79     FmOperationService *mOperationService;
    78     QFileSystemWatcher *mFileSystemWatcher;
    80     QFileSystemWatcher *mFileSystemWatcher;
    79     
    81     
    80     QString mFindTargetPath;
    82     QString mFindTargetPath;
    81     QGraphicsLinearLayout *mLayout;
    83     QGraphicsLinearLayout *mLayout;
       
    84 	HbMenu *mContextMenu;
       
    85     
       
    86     //used to avoid activate when long press list.
       
    87     bool mListLongPressed;
    82 };
    88 };
    83 
    89 
    84 #endif
    90 #endif