I think it should be something like
void MyDialog::showDialogSuchen()
{
DialogSuchen dialogsuchen(this);
connect(&dialogsuchen,
SIGNAL(sendString
(QString)),
this,
SLOT(onSendString
(QString)));
dialogsuchen.exec();
}
void MyDialog::showDialogSuchen()
{
DialogSuchen dialogsuchen(this);
connect(&dialogsuchen,SIGNAL(sendString(QString)), this, SLOT(onSendString(QString)));
dialogsuchen.exec();
}
To copy to clipboard, switch view to plain text mode
void DialogSuchen::onSendString()
{
emit sendString(ui.lineEdit->text());
}
void DialogSuchen::onSendString()
{
emit sendString(ui.lineEdit->text());
}
To copy to clipboard, switch view to plain text mode
Bookmarks