In addition, there are versions of this connect() that do not require a QObject receiver pointer. From the docs for QObject::connect():However, Qt5's function pointer based connect() can connect to functions that are not slots.
Qt Code:
void someFunction();To copy to clipboard, switch view to plain text mode
So potentially if the code in the original post was cleaned up to proper C++ syntax, then the "someFunction" above could be prefaced by the namespace.
Bookmarks