emailuis/nmindicatorplugin/src/nmsendingindicator.cpp
changeset 75 47d84de1c893
parent 59 16ed8d08d0b1
equal deleted inserted replaced
72:64e38f08e49c 75:47d84de1c893
    47 
    47 
    48     No texts or icons show by this indicator
    48     No texts or icons show by this indicator
    49 */
    49 */
    50 QVariant NmSendingIndicator::indicatorData(int role) const
    50 QVariant NmSendingIndicator::indicatorData(int role) const
    51 {
    51 {
    52     if (role==DecorationNameRole || role==MonoDecorationNameRole) {
    52     if (role==DecorationNameRole) {
    53 		// Must return non-empty to make the indicator visible
    53 		// Must return non-empty to make the indicator visible
    54 		return " ";
    54 		return " ";
    55 	}
    55 	}
    56 
    56 
    57     return QVariant();
    57     return QVariant();
    74     Should return true, when the request is handled.
    74     Should return true, when the request is handled.
    75     Default implementation returns false.
    75     Default implementation returns false.
    76 
    76 
    77     \sa RequestType, HbIndicator
    77     \sa RequestType, HbIndicator
    78 */
    78 */
    79 bool NmSendingIndicator::handleClientRequest( RequestType type,
    79 bool NmSendingIndicator::handleClientRequest(RequestType type,
    80         const QVariant &parameter)
    80         const QVariant &parameter)
    81 {
    81 {
    82     NM_FUNCTION;
    82     NM_FUNCTION;
    83     Q_UNUSED(parameter);
    83     Q_UNUSED(parameter);
    84 
    84