ui/inc/glxmodelroles.h
changeset 48 d0b4e67b3a60
child 45 863223ea6961
equal deleted inserted replaced
36:6481344a6d67 48:d0b4e67b3a60
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef GLXMODELROLES_H
       
    21 #define GLXMODELROLES_H
       
    22 enum
       
    23 {
       
    24     GlxHgVisibilityRole = Qt::UserRole + 1, // VisibilityRole For MediaWall ,  Dont Change This Value - Depedency To HgWidget
       
    25     GlxFsImageRole,                         //to get the fullscreen image
       
    26     GlxContextRole,                     //to get and set the context   
       
    27     GlxFocusIndexRole,                  //to get and set the selected item index
       
    28     GlxVisualWindowIndex,               //to set the visual window index in media list
       
    29     GlxUriRole,                         //to get the URI of the image
       
    30     GlxDimensionsRole,                  
       
    31     GlxSelectedIndexRole,               //to get and set the seleceted item list
       
    32     GlxDateRole,                        //to get the image created or modified date 
       
    33     GlxFrameCount,                      //to get the number of frame in an image
       
    34     GlxSubStateRole,                    //to publish the sub state of a SM states
       
    35     GlxHdmiBitmap,                      //to get the pre decoded thumbnail for HDMI
       
    36 	GlxListItemCount,                   //to get the number of item in the album list
       
    37 	GlxSystemItemRole,                   //to get the item is system item or not
       
    38     GlxFavorites,                       //to get the image is in favorites folder or not
       
    39     GlxQImageSmall,                     //To Get Grid Thumbnail as QImage
       
    40     GlxQImageLarge,                     //To Get FullScreen Thumbnail as QImage
       
    41     GlxDefaultImage,					//To Get Default Thumbnail 
       
    42     GlxViewTitle,
       
    43     GlxPopulated,
       
    44 	GlxTimeRole,                        //to get the time image was modified
       
    45 	GlxSizeRole,                         //to get the size of the image
       
    46 	GlxDescRole,                         //to get the description of the images
       
    47 	GlxRemoveContextRole                 //to remove the context
       
    48 };
       
    49 
       
    50 
       
    51 #endif