equal
deleted
inserted
replaced
47 static HsMenuItemModel *getCollectionModel(int collectionId, |
47 static HsMenuItemModel *getCollectionModel(int collectionId, |
48 HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute, |
48 HsSortAttribute sortAttribute = LatestOnTopHsSortAttribute, |
49 const QString &collectionType = collectionTypeName()); |
49 const QString &collectionType = collectionTypeName()); |
50 static QStringList getCollectionNames(); |
50 static QStringList getCollectionNames(); |
51 static QString getName(int entryId); |
51 static QString getName(int entryId); |
52 static bool executeAction(int entryId, const QString &actionName = |
52 static int executeAction(int entryId, const QString &actionName = |
53 openActionIdentifier()); |
53 openActionIdentifier()); |
54 static bool launchTaskSwitcher(); |
54 static bool launchTaskSwitcher(); |
55 |
55 |
56 static int createCollection(const QString &name); |
56 static int createCollection(const QString &name); |
57 static bool renameCollection(int collectionId, |
57 static bool renameCollection(int collectionId, |
68 |
68 |
69 static int collectionIdByType(const QString& collectionType); |
69 static int collectionIdByType(const QString& collectionType); |
70 |
70 |
71 static bool touch(int entryId); |
71 static bool touch(int entryId); |
72 |
72 |
73 static bool launchSoftwareUpdate(); |
73 static int launchSoftwareUpdate(); |
74 |
74 |
75 private: |
75 private: |
76 // data |
76 // data |
77 |
77 |
78 static int mAllCollectionsId; |
78 static int mAllCollectionsId; |