diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index aeb89c6137f..febc14d1846 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -6393,7 +6393,7 @@ RefactorMarkers BaseTextEditorWidget::refactorMarkers() const return d->m_refactorOverlay->markers(); } -void BaseTextEditorWidget::setRefactorMarkers(const Internal::RefactorMarkers &markers) +void BaseTextEditorWidget::setRefactorMarkers(const RefactorMarkers &markers) { foreach (const RefactorMarker &marker, d->m_refactorOverlay->markers()) requestBlockUpdate(marker.cursor.block()); diff --git a/src/plugins/texteditor/basetexteditor.h b/src/plugins/texteditor/basetexteditor.h index 529c7c07401..dd1f750de92 100644 --- a/src/plugins/texteditor/basetexteditor.h +++ b/src/plugins/texteditor/basetexteditor.h @@ -59,11 +59,11 @@ class IAssistMonitorInterface; class IAssistInterface; class IAssistProvider; class ICodeStylePreferences; +typedef QList RefactorMarkers; namespace Internal { class BaseTextEditorWidgetPrivate; class TextEditorOverlay; - typedef QList RefactorMarkers; typedef QString (QString::*TransformationMethod)() const; } @@ -426,8 +426,8 @@ public: QList extraSelections(ExtraSelectionKind kind) const; QString extraSelectionTooltip(int pos) const; - Internal::RefactorMarkers refactorMarkers() const; - void setRefactorMarkers(const Internal::RefactorMarkers &markers); + RefactorMarkers refactorMarkers() const; + void setRefactorMarkers(const RefactorMarkers &markers); signals: void refactorMarkerClicked(const TextEditor::RefactorMarker &marker);