Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 2 times, last edit by "akirahinoshiro" (May 12th 2012, 2:13pm)
|
|
Source code |
1 2 3 4 5 6 |
void myclass::myslot()
{
QString text = m_lineedit->text();
emit mysignal(text.toStdString()); // mysignal signature is void mysignal(const std::string&)
}
|
This post has been edited 1 times, last edit by "Junior" (May 11th 2012, 5:04pm)
Here is another cut - check and see if this crashes.