Show file tree
Hide file tree
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
Showing 2 changed files with 26 additions and 4 deletions.