homescreenapp/inc/hsapp_defs.inl
changeset 85 35368b604b28
parent 77 4b195f3bea29
child 87 b19f22d9e323
child 92 6727c5d0afc7
equal deleted inserted replaced
77:4b195f3bea29 85:35368b604b28
     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: contains definition of constant strings
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSAPPDEFS_INL_
       
    19 #define HSAPPDEFS_INL_
       
    20 
       
    21 
       
    22 /*!
       
    23 \return widget path attribute name
       
    24 */
       
    25 inline const QString widgetPathAttributeName()
       
    26 {
       
    27     static const QString name("widget:path");
       
    28     return name;
       
    29 }
       
    30 
       
    31 /*!
       
    32 \return widget library attribute name
       
    33 */
       
    34 inline const QString widgetLibraryAttributeName()
       
    35 {
       
    36     static const QString name("widget:library");
       
    37     return name;
       
    38 }
       
    39 
       
    40 /*!
       
    41 \return widget uri attribute name
       
    42 */
       
    43 inline const QString widgetUriAttributeName()
       
    44 {
       
    45     static const QString name("widget:uri");
       
    46     return name;
       
    47 }
       
    48 
       
    49 /*!
       
    50 \return application entry type name
       
    51 */
       
    52 inline const QString applicationTypeName()
       
    53 {
       
    54     static const QString name("application");
       
    55     return name;
       
    56 }
       
    57 
       
    58 /*!
       
    59 \return url entry type name
       
    60 */
       
    61 inline const QString urlTypeName()
       
    62 {
       
    63     static const QString name("url");
       
    64     return name;
       
    65 }
       
    66 
       
    67 /*!
       
    68 \return collection entry type name
       
    69 */
       
    70 inline const QString collectionTypeName()
       
    71 {
       
    72     static const QString name("collection");
       
    73     return name;
       
    74 }
       
    75 
       
    76 /*!
       
    77 \return collection donwloaded entry type name
       
    78 */
       
    79 inline const QString collectionDownloadedTypeName()
       
    80 {
       
    81     static const QString name("collection::downloaded");
       
    82     return name;
       
    83 }
       
    84 /*!
       
    85 \return menu collections entry type name
       
    86 */
       
    87 inline const QString menuCollectionsTypeName()
       
    88 {
       
    89     static const QString name("menucollections");
       
    90     return name;
       
    91 }
       
    92 
       
    93 /*!
       
    94 \return widget entry type name
       
    95 */
       
    96 inline const QString widgetTypeName()
       
    97 {
       
    98     static const QString name("widget");
       
    99     return name;
       
   100 }
       
   101 
       
   102 /*!
       
   103 \return temploated application entry type name
       
   104 */
       
   105 inline const QString templatedApplicationTypeName()
       
   106 {
       
   107     static const QString name("templatedApplication");
       
   108     return name;
       
   109 }
       
   110 
       
   111 /*!
       
   112 \return widget param name
       
   113 */
       
   114 inline const QString widgetParam()
       
   115 {
       
   116     static const QString name("widgetparam:");
       
   117     return name;
       
   118 }
       
   119 
       
   120 /*!
       
   121 \return identifier for open an item action
       
   122 */
       
   123 inline const QString openActionIdentifier()
       
   124 {
       
   125     static const QString name("open");
       
   126     return name;
       
   127 }
       
   128 
       
   129 /*!
       
   130 \return identifier for remove an item action
       
   131 */
       
   132 inline const QString removeActionIdentifier()
       
   133 {
       
   134     static const QString name("remove");
       
   135     return name;
       
   136 }
       
   137 
       
   138 /*!
       
   139 \return item id property key
       
   140 */
       
   141 inline const QString itemIdKey()
       
   142 {
       
   143     static const QString key("item_id");
       
   144     return key;
       
   145 }
       
   146 
       
   147 /*!
       
   148     \return collection id property key
       
   149 */
       
   150 inline const QString collectionIdKey()
       
   151 {
       
   152     static const QString key("collection_id");
       
   153     return key;
       
   154 }
       
   155 
       
   156 /*!
       
   157     \return collection sort order property key
       
   158 */
       
   159 inline const QString collectionSortOrderKey()
       
   160 {
       
   161     static const QString key("collection_sort_order");
       
   162     return key;
       
   163 }
       
   164 
       
   165 /*!
       
   166     \return application sort order property key
       
   167 */
       
   168 inline const QString appSortOrderKey()
       
   169 {
       
   170     static const QString key("app_sort_order");
       
   171     return key;
       
   172 }
       
   173 
       
   174 /*!
       
   175     \return entry type name property key
       
   176 */
       
   177 inline const QString entryTypeNameKey()
       
   178 {
       
   179     static const QString key("entry_type_name");
       
   180     return key;
       
   181 }
       
   182 
       
   183 /*!
       
   184     \return application uid entry key
       
   185 */
       
   186 inline const QString applicationUidEntryKey()
       
   187 {
       
   188     static const QString key("application:uid");
       
   189     return key;
       
   190 }
       
   191 
       
   192 /*!
       
   193     \return url entry key
       
   194 */
       
   195 inline const QString urlEntryKey()
       
   196 {
       
   197     static const QString name("url");
       
   198     return name;
       
   199 }
       
   200 
       
   201 /*!
       
   202     \return default collection icon id
       
   203 */
       
   204 inline const QString defaultCollectionIconId()
       
   205 {
       
   206     static const QString name("qtg_large_applications_user");
       
   207     return name;
       
   208 }
       
   209 
       
   210 /*!
       
   211     \return default bling icon id , used to mark unused downloaded apps
       
   212 */
       
   213 inline const QString newIconId()
       
   214 {
       
   215     static const QString name("qtg_small_new_event");
       
   216     return name;
       
   217 }
       
   218 
       
   219 
       
   220 /*!
       
   221     \return menu mode type
       
   222 */
       
   223 inline const QString menuModeType()
       
   224 {
       
   225     static const QString name("menu_mode_type");
       
   226     return name;
       
   227 }
       
   228 
       
   229 /*!
       
   230     \return sw type key
       
   231 */
       
   232 inline const QString swTypeKey()
       
   233 {
       
   234     static const QString key("apptype");
       
   235     return key;
       
   236 }
       
   237 
       
   238 /*!
       
   239     \return package entry type name
       
   240 */
       
   241 inline const QString packageTypeName()
       
   242 {
       
   243     static const QString name("package");
       
   244     return name;
       
   245 }
       
   246 
       
   247 /*!
       
   248     \return java sw type
       
   249 */
       
   250 inline const QString javaSwType()
       
   251 {
       
   252     static const QString value("java");
       
   253     return value;
       
   254 }
       
   255 
       
   256 /*!
       
   257     \return application settings plugin
       
   258 */
       
   259 inline const QString appSettingsPlugin()
       
   260 {
       
   261     static const QString key("app_settings_plugin");
       
   262     return key;
       
   263 }
       
   264 
       
   265 /*!
       
   266     \return application group name
       
   267 */
       
   268 inline const QString groupNameAttributeName()
       
   269 {
       
   270     static const QString key("appgroup_name");
       
   271     return key;
       
   272 }
       
   273 
       
   274 /*!
       
   275     \return applibrary activate name to open downloaded
       
   276 */
       
   277 inline const QString groupAppLibRecentView()
       
   278 {
       
   279     static const QString key("AppLibRecentView");
       
   280     return key;
       
   281 }
       
   282 
       
   283 /*!
       
   284     \return application componentID atribute name
       
   285 */
       
   286 inline const QString componentIdAttributeName()
       
   287 {
       
   288     static const QString key("component_id");
       
   289     return key;
       
   290 }
       
   291 
       
   292 /*!
       
   293     \return entry short name
       
   294 */
       
   295 inline const QString entryShortName()
       
   296 {
       
   297     static const QString key("short_name");
       
   298     return key;
       
   299 }
       
   300 
       
   301 /*!
       
   302     \return entry translation file name
       
   303 */
       
   304 inline const QString translationFilename()
       
   305 {
       
   306     static const QString key("widget:translation_file");
       
   307     return key;
       
   308 }
       
   309 
       
   310 /*!
       
   311     \return homescreen activitity name to open idle iew
       
   312 */
       
   313 inline const QString activityHsIdleView()
       
   314 {
       
   315     static const QString key("HsIdleView");
       
   316     return key;
       
   317 }
       
   318 
       
   319 /*!
       
   320     \return homescreen activitity name to open applib iew
       
   321 */
       
   322 inline const QString activityAppLibMainView()
       
   323 {
       
   324     static const QString key("AppLibMainView");
       
   325     return key;
       
   326 }
       
   327 
       
   328 #endif