emailuis/nmindicatorplugin/src/nmsendingindicator.cpp
changeset 68 83cc6bae1de8
parent 57 ae34e1715e21
equal deleted inserted replaced
67:459da34cdb45 68:83cc6bae1de8
    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