TextEditor: Complete transition to Qt5-style connects

Change-Id: I78c84254a5ea56b5f9a478b6e1c9b4ed58937687
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-03-19 19:57:04 +02:00
committed by Orgad Shaneh
parent 0170e10af1
commit a4e23025f0
3 changed files with 21 additions and 22 deletions

View File

@@ -64,7 +64,8 @@ public:
// Don't call in constructors of derived classes
virtual void setFontSettings(const TextEditor::FontSettings &fontSettings);
public Q_SLOTS:
public slots:
void rehighlight();
void rehighlightBlock(const QTextBlock &block);
@@ -90,8 +91,8 @@ protected:
QTextBlock currentBlock() const;
private:
Q_PRIVATE_SLOT(d_ptr, void _q_reformatBlocks(int from, int charsRemoved, int charsAdded))
Q_PRIVATE_SLOT(d_ptr, void _q_delayedRehighlight())
void reformatBlocks(int from, int charsRemoved, int charsAdded);
void delayedRehighlight();
QScopedPointer<SyntaxHighlighterPrivate> d_ptr;
};