Sorry stupid move. I suppose I should be using:

ui.labelName->setText(QString::fromStdString (K1.getName()));