equal
deleted
inserted
replaced
36 private: |
36 private: |
37 HsMenuEventFactory(); |
37 HsMenuEventFactory(); |
38 |
38 |
39 public: |
39 public: |
40 |
40 |
41 static QEvent *createAddToHomeScreenEvent( |
41 static QEvent *createAddToHomeScreenEvent(int entryId); |
42 int entryId, |
|
43 const QString &entryTypeName = QString(), |
|
44 const QString &uri = QString(), |
|
45 const QString &library = QString(), |
|
46 QMap<QString, QString>* attributes = NULL |
|
47 ); |
|
48 |
42 |
49 static QEvent *createOpenCollectionEvent(int itemId, |
43 static QEvent *createOpenCollectionEvent(int itemId, |
50 const QString &collectionType); |
44 const QString &collectionType); |
51 |
45 |
52 static QEvent *createRenameCollectionEvent(int aItemId); |
46 static QEvent *createRenameCollectionEvent(int aItemId); |
56 static QEvent *createDeleteCollectionEvent(int aItemId); |
50 static QEvent *createDeleteCollectionEvent(int aItemId); |
57 |
51 |
58 static QEvent *createOpenAppLibraryEvent( |
52 static QEvent *createOpenAppLibraryEvent( |
59 HsMenuMode menuMode = NormalHsMenuMode); |
53 HsMenuMode menuMode = NormalHsMenuMode); |
60 |
54 |
|
55 static QEvent *createOpenInstalledViewEvent(); |
|
56 |
61 static QEvent *createOpenHomeScreenEvent(); |
57 static QEvent *createOpenHomeScreenEvent(); |
62 |
58 |
63 static QEvent *createCollectionDeletedEvent(); |
59 static QEvent *createCollectionDeletedEvent(); |
64 |
60 |
65 static QEvent *createAddAppsFromApplicationsViewEvent( |
61 static QEvent *createAddAppsFromApplicationsViewEvent( |
80 int entryId, |
76 int entryId, |
81 const QString &entryTypeName = QString(), |
77 const QString &entryTypeName = QString(), |
82 const QString &uri = QString(), |
78 const QString &uri = QString(), |
83 const QString &library = QString() |
79 const QString &library = QString() |
84 ); |
80 ); |
|
81 |
|
82 static QEvent *createAppSettingsViewEvent(int entryId); |
85 |
83 |
86 static QEvent *createUnknownEvent(); |
84 static QEvent *createUnknownEvent(); |
87 |
85 |
88 }; |
86 }; |
89 |
87 |