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