refactor: remove redundant access specifiers
This commit is contained in:
parent
dddb6aadf1
commit
59ed15628e
9 changed files with 0 additions and 11 deletions
|
|
@ -122,7 +122,6 @@ private:
|
||||||
// event handlers
|
// event handlers
|
||||||
HandlerTable m_handlers;
|
HandlerTable m_handlers;
|
||||||
|
|
||||||
private:
|
|
||||||
Mutex *m_readyMutex = nullptr;
|
Mutex *m_readyMutex = nullptr;
|
||||||
CondVar<bool> *m_readyCondVar = nullptr;
|
CondVar<bool> *m_readyCondVar = nullptr;
|
||||||
std::queue<Event> m_pending;
|
std::queue<Event> m_pending;
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ public:
|
||||||
public:
|
public:
|
||||||
Action() = default;
|
Action() = default;
|
||||||
|
|
||||||
public:
|
|
||||||
QString text() const;
|
QString text() const;
|
||||||
const KeySequence &keySequence() const
|
const KeySequence &keySequence() const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ class Hotkey
|
||||||
public:
|
public:
|
||||||
Hotkey() = default;
|
Hotkey() = default;
|
||||||
|
|
||||||
public:
|
|
||||||
QString text() const;
|
QString text() const;
|
||||||
const KeySequence &keySequence() const
|
const KeySequence &keySequence() const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ class KeySequence
|
||||||
public:
|
public:
|
||||||
KeySequence() = default;
|
KeySequence() = default;
|
||||||
|
|
||||||
public:
|
|
||||||
QString toString() const;
|
QString toString() const;
|
||||||
bool appendKey(int modifiers, int key);
|
bool appendKey(int modifiers, int key);
|
||||||
bool appendMouseButton(int button);
|
bool appendMouseButton(int button);
|
||||||
|
|
@ -53,7 +52,6 @@ private:
|
||||||
return m_Sequence;
|
return m_Sequence;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
QList<int> m_Sequence = {};
|
QList<int> m_Sequence = {};
|
||||||
int m_Modifiers = 0;
|
int m_Modifiers = 0;
|
||||||
bool m_IsValid = false;
|
bool m_IsValid = false;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ class ScreenSetupModel : public QAbstractTableModel
|
||||||
public:
|
public:
|
||||||
ScreenSetupModel(ScreenList &screens, int numColumns, int numRows);
|
ScreenSetupModel(ScreenList &screens, int numColumns, int numRows);
|
||||||
|
|
||||||
public:
|
|
||||||
static const QString &mimeType()
|
static const QString &mimeType()
|
||||||
{
|
{
|
||||||
return m_MimeType;
|
return m_MimeType;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ public:
|
||||||
HotkeyDialog(QWidget *parent, Hotkey &hotkey);
|
HotkeyDialog(QWidget *parent, Hotkey &hotkey);
|
||||||
~HotkeyDialog() override;
|
~HotkeyDialog() override;
|
||||||
|
|
||||||
public:
|
|
||||||
const Hotkey &hotkey() const
|
const Hotkey &hotkey() const
|
||||||
{
|
{
|
||||||
return m_Hotkey;
|
return m_Hotkey;
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@ class ScreenSetupView : public QTableView
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ScreenSetupView(QWidget *parent);
|
explicit ScreenSetupView(QWidget *parent);
|
||||||
|
|
||||||
public:
|
|
||||||
void setModel(QAbstractItemModel *model) override;
|
void setModel(QAbstractItemModel *model) override;
|
||||||
ScreenSetupModel *model() const;
|
ScreenSetupModel *model() const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ public:
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
|
||||||
void dragEnterEvent(QDragEnterEvent *event) override;
|
void dragEnterEvent(QDragEnterEvent *event) override;
|
||||||
void dropEvent(QDropEvent *event) override;
|
void dropEvent(QDropEvent *event) override;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,6 @@ private:
|
||||||
void onError();
|
void onError();
|
||||||
static int ioErrorHandler(Display *);
|
static int ioErrorHandler(Display *);
|
||||||
|
|
||||||
private:
|
|
||||||
class KeyEventFilter
|
class KeyEventFilter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue