mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
DolphinQt2: Remove 'slots:' syntax from headers
With Qt5's new connection syntax, method pointers and functors are connected directly. There's no need to declare slots.
This commit is contained in:
@ -21,13 +21,17 @@ public:
|
||||
explicit GameList(QWidget* parent = nullptr);
|
||||
QString GetSelectedGame() const;
|
||||
|
||||
public slots:
|
||||
void SetTableView() { SetPreferredView(true); }
|
||||
void SetListView() { SetPreferredView(false); }
|
||||
void SetViewColumn(int col, bool view) { m_table->setColumnHidden(col, !view); }
|
||||
void OnColumnVisibilityToggled(const QString& row, bool visible);
|
||||
|
||||
private slots:
|
||||
signals:
|
||||
void GameSelected();
|
||||
void EmulationStarted();
|
||||
void EmulationStopped();
|
||||
|
||||
private:
|
||||
void ShowContextMenu(const QPoint&);
|
||||
void OpenContainingFolder();
|
||||
void OpenProperties();
|
||||
@ -41,12 +45,6 @@ private slots:
|
||||
void CompressISO();
|
||||
void OnHeaderViewChanged();
|
||||
|
||||
signals:
|
||||
void GameSelected();
|
||||
void EmulationStarted();
|
||||
void EmulationStopped();
|
||||
|
||||
private:
|
||||
void MakeTableView();
|
||||
void MakeListView();
|
||||
void MakeEmptyView();
|
||||
|
@ -41,7 +41,6 @@ public:
|
||||
NUM_COLS
|
||||
};
|
||||
|
||||
public slots:
|
||||
void UpdateGame(QSharedPointer<GameFile> game);
|
||||
void RemoveGame(const QString& path);
|
||||
|
||||
|
@ -29,7 +29,6 @@ public:
|
||||
explicit GameTracker(QObject* parent = nullptr);
|
||||
~GameTracker();
|
||||
|
||||
public slots:
|
||||
void AddDirectory(const QString& dir);
|
||||
void RemoveDirectory(const QString& dir);
|
||||
|
||||
@ -54,7 +53,7 @@ class GameLoader final : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public slots:
|
||||
public:
|
||||
void LoadGame(const QString& path)
|
||||
{
|
||||
GameFile* game = new GameFile(path);
|
||||
|
Reference in New Issue
Block a user