void MusicSongsListWidget::musicPlayClicked() { if(rowCount() == 0 || currentRow() < 0 ) { return; } emit cellDoubleClicked(currentRow(), 0); }
void simpleTableControl::editSimpleButtonClicked() { int row=0; // Get selected row row = getRowSelected(); if(row == -1) { return; } // Handle this through the double click handle cellDoubleClicked(row, 0); }