phoneplugins/phoneindicatorplugin/inc/phoneindicators.h
changeset 78 baacf668fe89
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    49 {
    49 {
    50     const char *icon;
    50     const char *icon;
    51     const char *primaryText;
    51     const char *primaryText;
    52     const char *secondaryText;
    52     const char *secondaryText;
    53     Interaction interaction;
    53     Interaction interaction;
       
    54     HbIndicatorInterface::Category catecory;
    54 };
    55 };
    55 
    56 
    56 Q_DECLARE_METATYPE(PhoneIndicatorInfo)
    57 Q_DECLARE_METATYPE(PhoneIndicatorInfo)
    57 
    58 
    58 static const int PhoneIndicatorCount = 3;
    59 static const int PhoneIndicatorCount = 3;
    59 static const PhoneIndicatorInfo IndicatorInfos[PhoneIndicatorCount] = {
    60 static const PhoneIndicatorInfo IndicatorInfos[PhoneIndicatorCount] = {
    60     {"qtg_mono_info.svg",   "Missed call", "Name/Number", OpenMissedCallView },
    61     {"qtg_mono_missed_call_unseen",   "Missed call", "Name/Number", OpenMissedCallView, HbIndicatorInterface::NotificationCategory },
    61     {"qtg_mono_info.svg",   "Active call", " ", OpenCallUi },
    62     {"qtg_mono_call",   "Active call", " ", OpenCallUi, HbIndicatorInterface::NotificationCategory },
    62     {"qtg_mono_info.svg",   "Active diverts", " ", OpenDiverSettingsView }
    63     {"qtg_mono_call_diverted",   "Active diverts", " ", OpenDiverSettingsView, HbIndicatorInterface::SettingCategory }
    63 };
    64 };
    64 
    65 
    65 #endif // PHONEINDICATORS_H
    66 #endif // PHONEINDICATORS_H