equal
deleted
inserted
replaced
101 |
101 |
102 HbIndicatorButtonPrivate::HbIndicatorButtonPrivate() : |
102 HbIndicatorButtonPrivate::HbIndicatorButtonPrivate() : |
103 mHandleIcon(0), mDefaultAction(0), mNewEventAction(0), mProgressAction(0), mDeviceDialog(0), |
103 mHandleIcon(0), mDefaultAction(0), mNewEventAction(0), mProgressAction(0), mDeviceDialog(0), |
104 mProgressAnimationFound(false), mNewEventIcon(0), mNewEvent(false), mStyle(0), mIndicatorMenuOpen(false), |
104 mProgressAnimationFound(false), mNewEventIcon(0), mNewEvent(false), mStyle(0), mIndicatorMenuOpen(false), |
105 mTouchArea(0) |
105 mTouchArea(0) |
|
106 #if defined(Q_OS_SYMBIAN) |
|
107 ,mIndicatorButtonStatusPrivate(0) |
|
108 #endif // defined(Q_OS_SYMBIAN) |
106 { |
109 { |
107 |
110 |
108 } |
111 } |
109 |
112 |
110 HbIndicatorButtonPrivate::~HbIndicatorButtonPrivate() |
113 HbIndicatorButtonPrivate::~HbIndicatorButtonPrivate() |
154 } |
157 } |
155 |
158 |
156 void HbIndicatorButtonPrivate::addIndicators(const QList<IndicatorClientInfo> &clientInfo) |
159 void HbIndicatorButtonPrivate::addIndicators(const QList<IndicatorClientInfo> &clientInfo) |
157 { |
160 { |
158 for (int i = 0; i < clientInfo.size(); ++i) { |
161 for (int i = 0; i < clientInfo.size(); ++i) { |
159 if (clientInfo.at(i).hasMenuData) { |
162 if (clientInfo.at(i).hasMenuData |
|
163 || clientInfo.at(i).category == HbIndicatorInterface::ProgressCategory) { |
160 mIndicators.prepend(clientInfo.at(i)); |
164 mIndicators.prepend(clientInfo.at(i)); |
161 if (clientInfo.at(i).category == HbIndicatorInterface::NotificationCategory) { |
165 if (clientInfo.at(i).category == HbIndicatorInterface::NotificationCategory) { |
162 mNewEvent = true; |
166 mNewEvent = true; |
163 } |
167 } |
164 } |
168 } |