void LookupWidget::createConnections() { connect(ui_->word_input, SIGNAL(textChanged(QString)), this, SLOT(lookupWord(QString))); connect(ui_->database_selector, SIGNAL(currentIndexChanged(int)), this, SLOT(repeatLookup())); connect(client_pool_, SIGNAL(definitionReceived(Definition)), results_, SLOT(appendResult(Definition))); connect(client_pool_, SIGNAL(matchesReceived(Matches)), this, SLOT(setCompletionItems(Matches))); connect(client_pool_, SIGNAL(databaseListReceived()), this, SLOT(updateDatabaseSelector())); }
void Amp::midiDefinitionReceived(unsigned short rawVal) { emit definitionReceived(raw2Phys(rawVal, 10.0, 0.0)); }