QmlJSEditor: Delay update of outline by 150 ms

This commit is contained in:
Kai Koehne
2010-07-13 11:18:42 +02:00
parent 2bafdb71a2
commit 8d48c51175
4 changed files with 40 additions and 8 deletions

View File

@@ -233,6 +233,7 @@ private slots:
void updateDocument();
void updateDocumentNow();
void jumpToMethod(int index);
void updateOutlineNow();
void updateMethodBoxIndex();
void updateMethodBoxToolTip();
void updateFileName();
@@ -278,6 +279,7 @@ private:
QTimer *m_updateDocumentTimer;
QTimer *m_updateUsesTimer;
QTimer *m_semanticRehighlightTimer;
QTimer *m_updateOutlineTimer;
QTimer *m_updateMethodBoxTimer;
QComboBox *m_methodCombo;
QmlOutlineModel *m_outlineModel;