-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qgis::overload method for new-style Qt connects
Used for new-style Qt connects to overloaded signals, avoiding the usual horrible connect syntax required in these circumstances. Example usage: connect( mSpinBox, qgis::overload< int >::of( &QSpinBox::valueChanged ), this, &MyClass::mySlot ); This is an alternative to qOverload, which was implemented in Qt 5.7. See https://stackoverflow.com/a/16795664/1861260
- Loading branch information
1 parent
ebab649
commit fa051d5
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
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
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