74 HbIcon* GetExternalIconItem(int itemIndex,GlxTBContextType tbContextType)const; |
74 HbIcon* GetExternalIconItem(int itemIndex,GlxTBContextType tbContextType)const; |
75 /** |
75 /** |
76 * for setting the attribute context mode will be used mainly for retreiving thumbnail of different sizes. |
76 * for setting the attribute context mode will be used mainly for retreiving thumbnail of different sizes. |
77 */ |
77 */ |
78 void setContextMode(GlxContextMode contextMode); |
78 void setContextMode(GlxContextMode contextMode); |
|
79 /* |
|
80 *Removes the context |
|
81 */ |
|
82 void removeContextMode(GlxContextMode contextMode); |
79 void setFocusIndex(const QModelIndex &index); |
83 void setFocusIndex(const QModelIndex &index); |
80 QModelIndex getFocusIndex() const; |
84 QModelIndex getFocusIndex() const; |
81 void setSelectedIndex(const QModelIndex &index); |
85 void setSelectedIndex(const QModelIndex &index); |
82 |
86 |
83 |
87 |
84 |
88 |
85 signals : |
89 signals : |
86 void iconAvailable(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType) const; |
90 void iconAvailable(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType) const; |
|
91 /* |
|
92 *signal to update the details view |
|
93 */ |
|
94 void updateDetailsView(); |
87 public slots: |
95 public slots: |
88 void itemUpdated1(int mlIndex, GlxTBContextType tbContextType); |
96 void itemUpdated1(int mlIndex, GlxTBContextType tbContextType); |
89 void itemsAdded(int startIndex, int endIndex); |
97 void itemsAdded(int startIndex, int endIndex); |
90 void itemsRemoved(int startIndex, int endIndex); |
98 void itemsRemoved(int startIndex, int endIndex); |
91 void itemCorrupted(int itemIndex); |
99 void itemCorrupted(int itemIndex); |
92 void albumTitleUpdated(QString aTitle); |
100 void albumTitleUpdated(QString aTitle); |
93 void modelpopulated(); |
101 void modelpopulated(); |
|
102 /* |
|
103 *Emits signal to update the details view |
|
104 */ |
|
105 void updateDetailItems(); |
94 protected: |
106 protected: |
95 |
107 |
96 private slots: |
108 private slots: |
97 void updateItemIcon(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType); |
109 void updateItemIcon(int itemIndex, HbIcon* itemIcon, GlxTBContextType tbContextType); |
98 private: |
110 private: |