forked from qt-creator/qt-creator
EmacsKeys: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Ib5fda624ef6d776fd238e15b562c9fc0dd6cab58 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a9f73d079a
commit
38a13f09c2
@@ -40,8 +40,6 @@ enum EmacsKeysAction {
|
||||
|
||||
class EmacsKeysState : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
EmacsKeysState(QPlainTextEdit *edit);
|
||||
~EmacsKeysState();
|
||||
@@ -56,12 +54,11 @@ public:
|
||||
int mark() const { return m_mark; }
|
||||
void setMark(int mark) { m_mark = mark; }
|
||||
|
||||
private slots:
|
||||
private:
|
||||
void cursorPositionChanged();
|
||||
void textChanged();
|
||||
void selectionChanged();
|
||||
|
||||
private:
|
||||
bool m_ignore3rdParty;
|
||||
int m_mark;
|
||||
EmacsKeysAction m_lastAction;
|
||||
|
||||
Reference in New Issue
Block a user