mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	configure_system: Make public slots private
These are only used within this class, so we can make them private to keep their use contained. This also gets rid of the pre-Qt5 'slot' identifier, since Qt 5's connection syntax doesn't require a function to be declared a slot anymore.
This commit is contained in:
		
							parent
							
								
									e54c9e19f3
								
							
						
					
					
						commit
						3c63cecb96
					
				@ -34,23 +34,21 @@ public:
 | 
				
			|||||||
    void applyConfiguration();
 | 
					    void applyConfiguration();
 | 
				
			||||||
    void setConfiguration();
 | 
					    void setConfiguration();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void PopulateUserList();
 | 
					private:
 | 
				
			||||||
    void UpdateCurrentUser();
 | 
					    void ReadSystemSettings();
 | 
				
			||||||
 | 
					    std::string GetAccountUsername(Service::Account::UUID uuid) const;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public slots:
 | 
					 | 
				
			||||||
    void updateBirthdayComboBox(int birthmonth_index);
 | 
					    void updateBirthdayComboBox(int birthmonth_index);
 | 
				
			||||||
    void refreshConsoleID();
 | 
					    void refreshConsoleID();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    void PopulateUserList();
 | 
				
			||||||
 | 
					    void UpdateCurrentUser();
 | 
				
			||||||
    void SelectUser(const QModelIndex& index);
 | 
					    void SelectUser(const QModelIndex& index);
 | 
				
			||||||
    void AddUser();
 | 
					    void AddUser();
 | 
				
			||||||
    void RenameUser();
 | 
					    void RenameUser();
 | 
				
			||||||
    void DeleteUser();
 | 
					    void DeleteUser();
 | 
				
			||||||
    void SetUserImage();
 | 
					    void SetUserImage();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
private:
 | 
					 | 
				
			||||||
    void ReadSystemSettings();
 | 
					 | 
				
			||||||
    std::string GetAccountUsername(Service::Account::UUID uuid) const;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    QVBoxLayout* layout;
 | 
					    QVBoxLayout* layout;
 | 
				
			||||||
    QTreeView* tree_view;
 | 
					    QTreeView* tree_view;
 | 
				
			||||||
    QStandardItemModel* item_model;
 | 
					    QStandardItemModel* item_model;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user