mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 10:02:31 -06:00
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:
parent
7402001787
commit
3bbd35dde9
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue