Please sign in to comment.
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 with 26 additions and 4 deletions.