Skip to content

Instantly share code, notes, and snippets.

@azat
Created December 3, 2012 18:04
Show Gist options
  • Select an option

  • Save azat/4196765 to your computer and use it in GitHub Desktop.

Select an option

Save azat/4196765 to your computer and use it in GitHub Desktop.
lambda usage
Wrapper::QLambda *lambda = NULL;
lambda = new Wrapper::QLambda([this, &captchaHandled, &dialog, lambda] (QObject* qObReply) {
// Do some stuff here
}, this);
_connectAndExecSync(_params->manager, SIGNAL(replyReadyRead(QNetworkReply*)), lambda, SLOT(call(QNetworkReply*)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment