I want to do specific things after focus is lost on lineedit1. Here is the code piece from the application:
QFocusEvent* focuslost = new QFocusEvent(QEvent::FocusOut); void lineedit1::focusOutEvent(focuslost) { //do something } but it gives me compiler error:
error: name followed by "::" must be a class or namespace name
What can I do to implement such a function?