filemanager/src/filemanager/src/fmviewmanager.h
changeset 25 b7bfdea70ca2
parent 16 ada7962b4308
child 32 39cf9ced4cc4
equal deleted inserted replaced
16:ada7962b4308 25:b7bfdea70ca2
    28 class FmViewManager;
    28 class FmViewManager;
    29 class FmOperationService;
    29 class FmOperationService;
    30 class FmOperationBase;
    30 class FmOperationBase;
    31 class QFileSystemWatcher;
    31 class QFileSystemWatcher;
    32 class FmDriveWatcher;
    32 class FmDriveWatcher;
    33 class HbDialog;
    33 class FmDialog;
    34 
    34 
    35 class FmDlgCloseUnit
    35 class FmDlgCloseUnit
    36 {
    36 {
    37 public:
    37 public:
    38 	FmDlgCloseUnit( HbDialog *dialog );
    38 	FmDlgCloseUnit( FmDialog *dialog );
    39 	~FmDlgCloseUnit();
    39 	~FmDlgCloseUnit();
    40 
    40 
    41 	void addAssociatedDrives( QString drives );
    41 	void addAssociatedDrives( QString drives );
    42 	void removeAssociatedDrives( QString drives );
    42 	void removeAssociatedDrives( QString drives );
    43 	QString associatedDrives();
    43 	QString associatedDrives();
    44 	HbDialog *dialog();
    44 	FmDialog *dialog();
    45 
    45 
    46 private:
    46 private:
    47 	HbDialog *mDialog;
    47 	FmDialog *mDialog;
    48 	QString mAssociatedDrives;
    48 	QString mAssociatedDrives;
    49 };
    49 };
    50 
    50 
    51 class FmViewManager : public QObject
    51 class FmViewManager : public QObject
    52 {
    52 {
    94     void popViewAndShow();
    94     void popViewAndShow();
    95     void on_operationService_refreshModel( FmOperationBase* operationBase, const QString &path );
    95     void on_operationService_refreshModel( FmOperationBase* operationBase, const QString &path );
    96     void on_fsWatcher_fileChanged(const QString &path);
    96     void on_fsWatcher_fileChanged(const QString &path);
    97     void on_fsWatcher_directoryChanged(const QString &path);
    97     void on_fsWatcher_directoryChanged(const QString &path);
    98     void on_driveWatcher_driveAddedOrChanged();
    98     void on_driveWatcher_driveAddedOrChanged();
       
    99     void on_operationService_notifyFinish( FmOperationBase *operationBase );
    99 signals:
   100 signals:
   100     void refreshModel( const QString &path  );
   101     void refreshModel( const QString &path  );
       
   102     void refreshBackupDate();
       
   103     void refreshDeleteBackupView();
       
   104     void refreshRestoreView();
   101 
   105 
   102 private:
   106 private:
   103        /// create view will push current view to stack
   107        /// create view will push current view to stack
   104   //  HbView *createView( FmViewType viewType );
   108   //  HbView *createView( FmViewType viewType );
   105 
   109