ui/inc/glxmodelroles.h
changeset 69 45459746d5e8
parent 62 36d93b4dc635
--- a/ui/inc/glxmodelroles.h	Mon Sep 20 12:39:08 2010 +0530
+++ b/ui/inc/glxmodelroles.h	Mon Sep 27 15:13:20 2010 +0530
@@ -21,34 +21,46 @@
 #define GLXMODELROLES_H
 enum
 {
+    //For ItemImageData Function role START
     GlxHgVisibilityRole = Qt::UserRole + 1, // VisibilityRole For MediaWall ,  Dont Change This Value - Depedency To HgWidget
     GlxFsImageRole,                         //to get the fullscreen image
-    GlxContextRole,                     //to get and set the context   
-    GlxFocusIndexRole,                  //to get and set the selected item index
-    GlxVisualWindowIndex,               //to set the visual window index in media list
-    GlxUriRole,                         //to get the URI of the image
-    GlxDimensionsRole,                  
-    GlxSelectedIndexRole,               //to get and set the seleceted item list
-    GlxDateRole,                        //to get the image created or modified date 
-    GlxFrameCount,                      //to get the number of frame in an image
-    GlxSubStateRole,                    //to publish the sub state of a SM states
-    GlxHdmiBitmap,                      //to get the pre decoded thumbnail for HDMI
-	GlxListItemCount,                   //to get the number of item in the album list
-	GlxSystemItemRole,                   //to get the item is system item or not
-    GlxFavorites,                       //to get the image is in favorites folder or not
+    GlxDefaultImage,
     GlxQImageSmall,                     //To Get Grid Thumbnail as QImage
     GlxQImageLarge,                     //To Get FullScreen Thumbnail as QImage
-    GlxDefaultImage,					//To Get Default Thumbnail 
-    GlxViewTitle,
+    GlxHdmiBitmap,                      //to get the pre decoded thumbnail for HDMI
+    GlxItemImageDataEnd = 0x100,
+    //For ItemImageData Function role END
+    
+    //For CollectionProperty Function role START
+    GlxFocusIndexRole,                  //to get and set the selected item index
+    GlxSubStateRole,                    //to publish the sub state of a SM states
     GlxPopulated,
-	GlxTimeRole,                        //to get the time image was modified
-	GlxSizeRole,                         //to get the size of the image
-	GlxDescRole,                         //to get the description of the images
-	GlxRemoveContextRole,                 //to remove the context
-	GlxTempVisualWindowIndex,              //to store the visual index obtained from AM temporarily
-	GlxImageCorruptRole,                 //To get the corrupt image status
-	GlxPaintPageFlag,
-	GlxImageTitle                        //to fetch the title of the image
+    GlxViewTitle,
+    GlxVisualWindowIndex,               //to set the visual window index in media list
+    GlxPaintPageFlag,
+    GlxCollectionPropertyEnd = 0x200,
+    //For CollectionProperty Function role END
+    
+    //For ItemProperty Function role START
+    GlxFrameCount,                       //to get the number of frame in an image
+    GlxImageCorruptRole,                 //To get the corrupt image status
+    GlxUriRole,                          //to get the URI of the image
+    GlxSizeRole,                         //to get the size of the image
+    GlxImageTitle,                        //to fetch the title of the image
+    GlxDimensionsRole,                  
+    GlxDateRole,                         //to get the image created or modified date 
+    GlxTimeRole,                         //to get the time image was modified
+    GlxDescRole,                         //to get the description of the images
+    GlxItemPropertyEnd = 0x300,                       
+    //For ItemProperty Function role
+ 
+    GlxContextRole,                      //to get and set the context    
+    GlxSelectedIndexRole,               //to get and set the seleceted item list
+    GlxListItemCount,                   //to get the number of item in the album list
+    GlxSystemItemRole,                   //to get the item is system item or not
+    GlxFavorites,                       //to get the image is in favorites folder or not
+    GlxRemoveContextRole,                 //to remove the context
+    GlxTempVisualWindowIndex,              //to store the visual index obtained from AM temporarily
 };