game_list: Make slots private functions

The new Qt event syntax allows for regular member functions to be used in
connect(), so explicitly indicating slots isn't necessary.
This commit is contained in:
Lioncash 2016-12-11 06:17:09 -05:00 committed by linkmauve
parent 7402001787
commit 3bbd35dde9
1 changed files with 4 additions and 7 deletions

View File

@ -33,18 +33,15 @@ public:
void SaveInterfaceLayout(); void SaveInterfaceLayout();
void LoadInterfaceLayout(); void LoadInterfaceLayout();
public slots:
void AddEntry(const QList<QStandardItem*>& entry_items);
private slots:
void ValidateEntry(const QModelIndex& item);
void DonePopulating();
signals: signals:
void GameChosen(QString game_path); void GameChosen(QString game_path);
void ShouldCancelWorker(); void ShouldCancelWorker();
private: private:
void AddEntry(const QList<QStandardItem*>& entry_items);
void ValidateEntry(const QModelIndex& item);
void DonePopulating();
QTreeView* tree_view = nullptr; QTreeView* tree_view = nullptr;
QStandardItemModel* item_model = nullptr; QStandardItemModel* item_model = nullptr;
GameListWorker* current_worker = nullptr; GameListWorker* current_worker = nullptr;