I think I might have it figured out.. Do I emit a signal in the thread and connect the signal from the thread to the plaintextedit's slot in the main program?

--- main program
connect(&thread, signal(addthis(QString)), ui.plainTextEdit1, slot(appendPlainText(QString));

--- thread

emit addthis("hello there");

Is this correct?