homescreenapp/hsutils/inc/hsmenueventfactory.h
changeset 77 4b195f3bea29
parent 61 2b1b11a301d2
child 81 7dd137878ff8
equal deleted inserted replaced
61:2b1b11a301d2 77:4b195f3bea29
    61 
    61 
    62     static QEvent *createCollectionDeletedEvent();
    62     static QEvent *createCollectionDeletedEvent();
    63 
    63 
    64     static QEvent *createAddAppsFromApplicationsViewEvent(
    64     static QEvent *createAddAppsFromApplicationsViewEvent(
    65         HsSortAttribute aApplicationsSortOder,
    65         HsSortAttribute aApplicationsSortOder,
    66         HsSortAttribute aCollectionsSortOder,
       
    67         int aItemId = 0);
    66         int aItemId = 0);
    68 
    67 
    69     static QEvent *createAddAppsFromCallectionViewEvent(
    68     static QEvent *createAddAppsFromCollectionViewEvent(
    70         int aCollectionId,
    69         int aCollectionId,
    71         int aApplicationId = 0,
    70         int aApplicationId = 0);
    72         HsSortAttribute aCollectionsSortOder = NoHsSortAttribute);
       
    73 
    71 
    74     static QEvent *createRemoveAppFromCollectionEvent(int aItemId, int aCollectionId);
    72     static QEvent *createRemoveAppFromCollectionEvent(int aItemId, int aCollectionId);
    75 
    73 
    76     static QEvent *createUninstallApplicationEvent(int aItemId);
    74     static QEvent *createUninstallApplicationEvent(int aItemId);
    77 
    75 
    78     static QEvent *createArrangeCollectionEvent(int aTopItemId);
    76     static QEvent *createArrangeCollectionEvent(int aTopItemId,
       
    77         int aCollectionId);
       
    78 
       
    79     static QEvent *createArrangeAllCollectionsEvent(int aTopItemId);
    79 
    80 
    80     static QEvent *createPreviewHSWidgetEvent(
    81     static QEvent *createPreviewHSWidgetEvent(
    81         int entryId,
    82         int entryId,
    82         const QString &entryTypeName = QString(),
    83         const QString &entryTypeName = QString(),
    83         const QString &uri = QString(),
    84         const QString &uri = QString(),
    85     );
    86     );
    86     
    87     
    87     static QEvent *createAppSettingsViewEvent(int entryId);
    88     static QEvent *createAppSettingsViewEvent(int entryId);
    88     
    89     
    89     static QEvent *createAppDetailsViewEvent(int entryId);
    90     static QEvent *createAppDetailsViewEvent(int entryId);
       
    91     
       
    92     static QEvent *createInstallationLogEvent();
    90 
    93 
    91     static QEvent *createUnknownEvent();
    94     static QEvent *createUnknownEvent();
    92 
    95 
    93 };
    96 };
    94 
    97