ui/uiengine/model/mediamodel/inc/glxmediamodel.h
changeset 29 2c833fc9e98f
parent 24 99ad1390cd33
child 33 1ee2af37811f
equal deleted inserted replaced
26:c499df2dbb33 29:2c833fc9e98f
    19 
    19 
    20 #ifndef GLXMEDIAMODEL_H
    20 #ifndef GLXMEDIAMODEL_H
    21 #define GLXMEDIAMODEL_H
    21 #define GLXMEDIAMODEL_H
    22 
    22 
    23 #include <QAbstractItemModel>
    23 #include <QAbstractItemModel>
    24 #include <glxmlwrapper.h>
       
    25 #include <glxuistd.h>
    24 #include <glxuistd.h>
    26 #include <QDateTime>
    25 #include <QDateTime>
    27 #include <glxexternalinterfacedefs.h>
    26 #include <glxexternalinterfacedefs.h>
    28 //forward declarations
    27 //forward declarations
    29 
    28 
    33 #define GLX_MEDIAMODEL_EXPORT Q_DECL_IMPORT
    32 #define GLX_MEDIAMODEL_EXPORT Q_DECL_IMPORT
    34 #endif
    33 #endif
    35 
    34 
    36 class HbIcon;
    35 class HbIcon;
    37 class GlxModelParm;
    36 class GlxModelParm;
       
    37 class GlxMLWrapper;
    38 #include <QCache>
    38 #include <QCache>
    39 #include <QVector>
    39 #include <QVector>
    40 
    40 
    41 class GLX_MEDIAMODEL_EXPORT GlxMediaModel : public QAbstractItemModel
    41 class GLX_MEDIAMODEL_EXPORT GlxMediaModel : public QAbstractItemModel
    42 {
    42 {
    88 protected:
    88 protected:
    89 	
    89 	
    90 private slots:
    90 private slots:
    91     void updateItemIcon(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType);
    91     void updateItemIcon(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType);
    92 private:
    92 private:
    93 	Q_DECL_IMPORT GlxMLWrapper* mMLWrapper;	
    93 	GlxMLWrapper* mMLWrapper;	
    94 	QCache<int, HbIcon> itemIconCache;
    94 	QCache<int, HbIcon> itemIconCache;
    95 	QCache<int, HbIcon> itemFsIconCache;
    95 	QCache<int, HbIcon> itemFsIconCache;
    96 	HbIcon* m_DefaultIcon;
    96 	HbIcon* m_DefaultIcon;
    97 	GlxContextMode mContextMode;
    97 	GlxContextMode mContextMode;
    98 	//for external data to be populated by model
    98 	//for external data to be populated by model