Hi..
In the next code used the validate function:
Qt Code:
{ ... }To copy to clipboard, switch view to plain text mode
When I compile this code mark this error:
error: no matching function for call to `QValidator::validate(QString, int&) const'
note: candidates are: virtual QValidator::State QValidator::validate(QString&, int&) const
Then I need give a QString&, but I don't have a clue...
Please help
I Use Qt4.1
Bookmarks