Created
February 6, 2019 22:51
-
-
Save jniemann66/e254a4e18884c9878f87cdd9d883e4ec to your computer and use it in GitHub Desktop.
Qt: converting to new signal / slot syntax and resolving overloads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// connect(nameCompleter_, SIGNAL(activated(QString)), this, SLOT(selected(QString))); | |
connect(nameCompleter_, QOverload<const QString &>::of(&QCompleter::activated), this, &ProspectFinder::selected); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment