Qt: Add a signal when the game list selection is changed

This commit is contained in:
Connor McLaughlin
2020-01-24 14:49:46 +10:00
parent 99af858562
commit 67710ca184
3 changed files with 20 additions and 3 deletions

View File

@@ -19,11 +19,13 @@ public:
void initialize(QtHostInterface* host_interface);
Q_SIGNALS:
void bootEntryRequested(const GameList::GameListEntry& entry);
void entrySelected(const GameList::GameListEntry* entry);
void bootEntryRequested(const GameList::GameListEntry* entry);
private Q_SLOTS:
void onGameListRefreshed();
void onTableViewItemDoubleClicked(const QModelIndex& index);
void onSelectionModelCurrentChanged(const QModelIndex& current, const QModelIndex& previous);
protected:
void resizeEvent(QResizeEvent* event);