equal
deleted
inserted
replaced
592 /*! |
592 /*! |
593 \reimp |
593 \reimp |
594 */ |
594 */ |
595 bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const |
595 bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const |
596 { |
596 { |
597 return source->hasText() && !source->text().isEmpty(); |
597 Q_D(const HbLineEdit); |
|
598 if(source->hasText() && !source->text().isEmpty()) { |
|
599 QString text(source->text()); |
|
600 d->filterInputText(text); |
|
601 return !text.isEmpty(); |
|
602 } else { |
|
603 return false; |
|
604 } |
598 } |
605 } |
599 |
606 |
600 /*! |
607 /*! |
601 \reimp |
608 \reimp |
602 */ |
609 */ |