Merge pull request #5830 from lioncash/prototypes

DolphinQt2: Remove unimplemented prototypes
This commit is contained in:
Leo Lam 2017-07-27 15:01:29 +08:00 committed by GitHub
commit b140a6eb04
9 changed files with 0 additions and 27 deletions

View File

@ -5,10 +5,7 @@
#include "DolphinQt2/Config/Graphics/GraphicsWidget.h"
#include <QEvent>
#include <QFormLayout>
#include <QGroupBox>
#include <QLabel>
#include <QVBoxLayout>
#include "DolphinQt2/Config/Graphics/GraphicsWindow.h"

View File

@ -21,9 +21,6 @@ signals:
void DescriptionAdded(QWidget* widget, const char* description);
protected:
void AddWidget(const QString& name, QWidget* widget);
void AddWidget(QWidget* widget);
void AddDescription(QWidget* widget, const char* description);
virtual void LoadSettings() = 0;

View File

@ -23,13 +23,7 @@ public:
private:
void LoadSettings() override;
void SaveSettings() override;
void CreateButtonsLayout();
void CreateControlstickLayout();
void CreateCStickLayout();
void CreateTriggersLayout();
void CreateDPadLayout();
void CreateMainLayout();
void ConnectWidgets();
// Main
QHBoxLayout* m_main_layout;

View File

@ -23,13 +23,7 @@ public:
private:
void LoadSettings() override;
void SaveSettings() override;
void CreateButtonsLayout();
void CreateControlstickLayout();
void CreateCStickLayout();
void CreateTriggersLayout();
void CreateDPadLayout();
void CreateMainLayout();
void ConnectWidgets();
// Main
QHBoxLayout* m_main_layout;

View File

@ -20,7 +20,6 @@
#include "Core/Core.h"
#include "DolphinQt2/Config/Mapping/MappingCommon.h"
#include "DolphinQt2/Config/Mapping/MappingWidget.h"
#include "DolphinQt2/Config/Mapping/MappingWindow.h"
#include "InputCommon/ControlReference/ControlReference.h"
#include "InputCommon/ControllerEmu/ControllerEmu.h"

View File

@ -43,8 +43,6 @@ public:
private:
void CreateMainLayout();
void ConnectWidgets();
void LoadSettings();
void SaveSettings();
void Update();
void OnDialogButtonPressed(QAbstractButton* button);

View File

@ -16,7 +16,6 @@
#include "Common/FileUtil.h"
#include "Common/IniFile.h"
#include "Core/Core.h"
#include "Core/HW/GCPad.h"
#include "DolphinQt2/Config/Mapping/GCKeyboardEmu.h"
#include "DolphinQt2/Config/Mapping/GCPadEmu.h"
#include "DolphinQt2/Config/Mapping/GCPadWiiU.h"

View File

@ -64,7 +64,6 @@ private:
void CreateResetLayout();
void CreateMainLayout();
void ConnectWidgets();
void LoadSettings();
void SetLayoutComplex(bool is_complex);
void AddWidget(const QString& name, QWidget* widget);
@ -76,7 +75,6 @@ private:
void OnLoadProfilePressed();
void OnSaveProfilePressed();
void OnDefaultFieldsPressed();
void OnProfileChanged(int index);
void OnDeviceChanged(int index);
ControllerEmu::EmulatedController* m_controller = nullptr;

View File

@ -8,7 +8,6 @@
#include <QVector>
#include "Common/NonCopyable.h"
#include "Core/HW/SI/SI.h"
namespace DiscIO
{
@ -30,12 +29,10 @@ public:
QString GetProfilesDir() const;
QVector<QString> GetProfiles(const InputConfig* config) const;
QString GetProfileINIPath(const InputConfig* config, const QString& name) const;
bool IsInDevelopmentWarningEnabled() const;
// GameList
QStringList GetPaths() const;
void AddPath(const QString& path);
void SetPaths(const QStringList& paths);
void RemovePath(const QString& path);
bool GetPreferredView() const;
void SetPreferredView(bool table);