homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsmenuservice.h
changeset 90 3ac3aaebaee5
parent 86 e4f038c420f7
child 97 66b5fe3c07fd
equal deleted inserted replaced
86:e4f038c420f7 90:3ac3aaebaee5
    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,
    51     static int executeAction(int entryId,
    52             const QString &actionName = Hs::openActionIdentifier, 
    52             const QString &actionName = Hs::openActionIdentifier,
       
    53             QObject* receiver = NULL,
       
    54             const char* member = NULL);
       
    55     static int executeAction(const CaEntry &entry,
       
    56             const QString &actionName = Hs::openActionIdentifier,
    53             QObject* receiver = NULL,
    57             QObject* receiver = NULL,
    54             const char* member = NULL);
    58             const char* member = NULL);
    55     static bool launchTaskSwitcher();
    59     static bool launchTaskSwitcher();
    56 
    60 
    57     static int createCollection(const QString &name);
    61     static int createCollection(const QString &name);
    64             int collectionId);
    68             int collectionId);
    65 
    69 
    66     static bool organizeCollection(int groupId, QList<int> &entryIdList);
    70     static bool organizeCollection(int groupId, QList<int> &entryIdList);
    67 
    71 
    68     static int allCollectionsId();
    72     static int allCollectionsId();
    69     
    73 
    70     static int collectionIdByType(const QString& collectionType);
    74     static int collectionIdByType(const QString& collectionType);
    71 
    75 
    72     static void touch(int entryId);
    76     static void touch(int entryId);
    73     
    77 
    74     static void touch(const QList<int> &entryIdList);
    78     static void touch(const QList<int> &entryIdList);
    75     
    79 
    76     static int launchSoftwareUpdate();
    80     static int launchSoftwareUpdate();
    77 
    81 
    78 private:
    82 private:
    79     // data
    83     // data
    80 
    84