filemanager/src/inc/fmfilesystemproxymodel.h
changeset 49 81668a704644
parent 47 12b82dc0e8db
equal deleted inserted replaced
47:12b82dc0e8db 49:81668a704644
    22 #include <QVariant>
    22 #include <QVariant>
    23 #include <QFileInfo>
    23 #include <QFileInfo>
    24 #include <QModelIndex>
    24 #include <QModelIndex>
    25 #include <QSortFilterProxyModel>
    25 #include <QSortFilterProxyModel>
    26 
    26 
       
    27 class HbDirectoryNameLocalizer;
       
    28 
    27 /*!
    29 /*!
    28     \class FmFileSystemProxyModel 
    30     \class FmFileSystemProxyModel 
    29     \brief The class FmFileSystemProxyModel provide file system model
    31     \brief The class FmFileSystemProxyModel provide file system model
    30     that can filter system folder and enable folder localization if source model is QFileSystemModel
    32     that can filter system folder and enable folder localization if source model is QFileSystemModel
    31     Most functions only can be used when source model is QFileSystemModel
    33     Most functions only can be used when source model is QFileSystemModel
    46     void setFilter ( QDir::Filters filters );
    48     void setFilter ( QDir::Filters filters );
    47     void setNameFilters(const QStringList &filters);
    49     void setNameFilters(const QStringList &filters);
    48 
    50 
    49 private:
    51 private:
    50     virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
    52     virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
       
    53 	
       
    54 private:
       
    55     // used to get localized directory name
       
    56     HbDirectoryNameLocalizer *localizer;
    51 };
    57 };
    52 
    58 
    53 
    59 
    54 
    60 
    55 #endif
    61 #endif