equal
deleted
inserted
replaced
19 #include <glxmodelparm.h> |
19 #include <glxmodelparm.h> |
20 #include <QDebug> |
20 #include <QDebug> |
21 #include <hbicon.h> |
21 #include <hbicon.h> |
22 #include <QStringList> |
22 #include <QStringList> |
23 #include <QBrush> |
23 #include <QBrush> |
|
24 #include <glxmlwrapper.h> |
24 |
25 |
25 #include "glxicondefs.h" //Contains the icon names/Ids |
26 #include "glxicondefs.h" //Contains the icon names/Ids |
26 |
27 |
27 const QColor KListOddRowColor(211, 211, 211, 127); |
28 const QColor KListOddRowColor(211, 211, 211, 127); |
28 const QColor KListEvenRowColor(255, 250, 250, 127); |
29 const QColor KListEvenRowColor(255, 250, 250, 127); |
140 } |
141 } |
141 |
142 |
142 case GlxFocusIndexRole : |
143 case GlxFocusIndexRole : |
143 idx = getFocusIndex(); |
144 idx = getFocusIndex(); |
144 return idx.row(); |
145 return idx.row(); |
|
146 |
|
147 case GlxListItemCount : |
|
148 return mMLWrapper->retrieveListItemCount( getFocusIndex().row() ); |
|
149 |
|
150 case GlxSystemItemRole : |
|
151 return mMLWrapper->isSystemItem( getFocusIndex().row() ); |
145 |
152 |
146 default : |
153 default : |
147 return QVariant(); |
154 return QVariant(); |
148 } |
155 } |
149 } |
156 } |