Skip to content

Instantly share code, notes, and snippets.

@iamOgunyinka
Created April 1, 2015 15:37
Show Gist options
  • Save iamOgunyinka/02dcf9c93f76c934f3ac to your computer and use it in GitHub Desktop.
Save iamOgunyinka/02dcf9c93f76c934f3ac to your computer and use it in GitHub Desktop.
void MainWindow::connectActions()
{
...
QObject::connect( m_directDownloadAction, SIGNAL( triggered() ), this, SLOT( findDownloadLink() ) );
QObject::connect( m_basicSearchAction, SIGNAL( triggered() ), this, SLOT( basicSearch() ) );
QObject::connect( m_advancedSearchAction, SIGNAL( triggered() ), this, SLOT( advancedSearch() ) );
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment