forked from qt-creator/qt-creator
TextEditor: Complete transition to Qt5-style connects
Change-Id: I78c84254a5ea56b5f9a478b6e1c9b4ed58937687 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
0170e10af1
commit
a4e23025f0
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user