QWidget::pos() is a "getter" so you unlikely want to call this, you probably meant "move".
QWidget::move() is not a slot, but of yours you could create one with matching arguments in your calls.
You can't use a function as a sender object, the type of the first argument of QObject::connect() is "QObject*", i.e. a pointer to a QObject.
You can, however, call a slot by name using QMetaObject::invokeMethod()Where "...." is any arguments you want to pass.Qt Code:
To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks