- if(inputLine->cursorPosition() == lastCompletionLength) {
- inputLine->insert(nickSuffix);
- lastCompletionLength += nickSuffix.length();
+ if(_lineEdit->cursorPosition() == _lastCompletionLength) {
+ _lineEdit->insert(_nickSuffix);
+ _lastCompletionLength += _nickSuffix.length();