3
0
Fork 0
forked from suyu/suyu

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

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;