forked from qt-creator/qt-creator
		
	QmlJSEditor: Rename QmlJSTextEditorWidget to QmlJSEditorWidget
Matches the general pattern and is shorter. Change-Id: Ib29ff5203a707f2152a9dfab42bcfd5697d0a7dc Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
		@@ -265,13 +265,13 @@ Utils::JsonSchemaManager *QmlJSEditorPlugin::jsonManager() const
 | 
			
		||||
 | 
			
		||||
void QmlJSEditorPlugin::findUsages()
 | 
			
		||||
{
 | 
			
		||||
    if (QmlJSTextEditorWidget *editor = qobject_cast<QmlJSTextEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
    if (QmlJSEditorWidget *editor = qobject_cast<QmlJSEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
        editor->findUsages();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void QmlJSEditorPlugin::renameUsages()
 | 
			
		||||
{
 | 
			
		||||
    if (QmlJSTextEditorWidget *editor = qobject_cast<QmlJSTextEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
    if (QmlJSEditorWidget *editor = qobject_cast<QmlJSEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
        editor->renameUsages();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -290,7 +290,7 @@ void QmlJSEditorPlugin::reformatFile()
 | 
			
		||||
 | 
			
		||||
void QmlJSEditorPlugin::showContextPane()
 | 
			
		||||
{
 | 
			
		||||
    if (QmlJSTextEditorWidget *editor = qobject_cast<QmlJSTextEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
    if (QmlJSEditorWidget *editor = qobject_cast<QmlJSEditorWidget*>(Core::EditorManager::currentEditor()->widget()))
 | 
			
		||||
        editor->showContextPane();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user