homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h
changeset 86 e4f038c420f7
parent 81 7dd137878ff8
child 90 3ac3aaebaee5
equal deleted inserted replaced
81:7dd137878ff8 86:e4f038c420f7
    46     static HsMenuItemModel *getCollectionModel(int collectionId,
    46     static HsMenuItemModel *getCollectionModel(int collectionId,
    47             Hs::HsSortAttribute sortAttribute = Hs::LatestOnTopHsSortAttribute,
    47             Hs::HsSortAttribute sortAttribute = Hs::LatestOnTopHsSortAttribute,
    48             const QString &collectionType = Hs::collectionTypeName);
    48             const QString &collectionType = Hs::collectionTypeName);
    49     static QStringList getCollectionNames();
    49     static QStringList getCollectionNames();
    50     static QString getName(int entryId);
    50     static QString getName(int entryId);
    51     static int executeAction(int entryId, const QString &actionName =
    51     static int executeAction(int entryId,
    52                                   Hs::openActionIdentifier);
    52             const QString &actionName = Hs::openActionIdentifier, 
       
    53             QObject* receiver = NULL,
       
    54             const char* member = NULL);
    53     static bool launchTaskSwitcher();
    55     static bool launchTaskSwitcher();
    54 
    56 
    55     static int createCollection(const QString &name);
    57     static int createCollection(const QString &name);
    56     static bool renameCollection(int collectionId,
    58     static bool renameCollection(int collectionId,
    57                                  const QString &newCollectionName);
    59                                  const QString &newCollectionName);