Does this even compile?
Anyway, QLineEdit doesn't have any toPlainText() function since it can only contain plain text.
Why don't you simply do something like this?
Qt Code:
void MyClass::mySlot() { emit mySignal(myLineEdit->text()); }To copy to clipboard, switch view to plain text mode
Bookmarks