ui/views/listview/inc/glxlistview.h
changeset 71 27f2d7aec52a
parent 50 a0f57508af73
child 72 0a8e959402e5
equal deleted inserted replaced
69:45459746d5e8 71:27f2d7aec52a
    24 //Qt/Orbit forward declarations
    24 //Qt/Orbit forward declarations
    25 class HbListView;
    25 class HbListView;
    26 class HbMainWindow;
    26 class HbMainWindow;
    27 class HbAbstractViewItem;
    27 class HbAbstractViewItem;
    28 class HbDocumentLoader;
    28 class HbDocumentLoader;
       
    29 class HbGroupBox;
    29 
    30 
    30 class GlxListView : public GlxView
    31 class GlxListView : public GlxView
    31 {
    32 {
    32     Q_OBJECT
    33     Q_OBJECT
    33     
    34     
    42     QGraphicsItem * getAnimationItem( GlxEffect transtionEffect );
    43     QGraphicsItem * getAnimationItem( GlxEffect transtionEffect );
    43 
    44 
    44 public slots:
    45 public slots:
    45     void itemSelected(const QModelIndex &  index);
    46     void itemSelected(const QModelIndex &  index);
    46     void populated();
    47     void populated();
       
    48     void showAlbumCount();
    47     
    49     
    48 private slots:
    50 private slots:
    49 	void indicateLongPress( HbAbstractViewItem *item, QPointF coords );
    51 	void indicateLongPress( HbAbstractViewItem *item, QPointF coords );
    50 	void setVisvalWindowIndex();
    52 	void setVisvalWindowIndex();
    51 	
    53 	
    60 	void loadListView();
    62 	void loadListView();
    61 
    63 
    62 private:
    64 private:
    63 	HbListView         *mListView;
    65 	HbListView         *mListView;
    64 	HbView             *mView;
    66 	HbView             *mView;
       
    67 	HbGroupBox         *mAlbumCount;
    65 	HbMainWindow       *mWindow;  //no ownership
    68 	HbMainWindow       *mWindow;  //no ownership
    66 	QAbstractItemModel *mModel ;
    69 	QAbstractItemModel *mModel ;
    67 	HbDocumentLoader   *mDocLoader; //Docml loader to load the widgets from docml
    70 	HbDocumentLoader   *mDocLoader; //Docml loader to load the widgets from docml
    68 	bool               mIsLongPress;
    71 	bool               mIsLongPress;
    69 };
    72 };