Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
b58c147c
Commit
b58c147c
authored
Aug 16, 2010
by
Leandro Melo
Browse files
Rename a method for clarity.
parent
878bb9f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cpptypehierarchy.cpp
View file @
b58c147c
...
...
@@ -168,7 +168,7 @@ CppTypeHierarchyWidget::~CppTypeHierarchyWidget()
delete
m_delegate
;
}
bool
CppTypeHierarchyWidget
::
handle
Replacement
(
Core
::
IEditor
*
editor
)
bool
CppTypeHierarchyWidget
::
handle
EditorChange
(
Core
::
IEditor
*
editor
)
{
if
(
CPPEditorEditable
*
cppEditable
=
qobject_cast
<
CPPEditorEditable
*>
(
editor
))
{
if
(
m_cppEditor
)
{
...
...
@@ -241,7 +241,7 @@ CppTypeHierarchyStackedWidget::~CppTypeHierarchyStackedWidget()
void
CppTypeHierarchyStackedWidget
::
editorChanged
(
Core
::
IEditor
*
editor
)
{
if
(
!
m_typeHiearchyWidgetInstance
->
handle
Replacement
(
editor
))
{
if
(
!
m_typeHiearchyWidgetInstance
->
handle
EditorChange
(
editor
))
{
CppTypeHierarchyWidget
*
replacement
=
new
CppTypeHierarchyWidget
(
editor
);
removeWidget
(
m_typeHiearchyWidgetInstance
);
m_typeHiearchyWidgetInstance
->
deleteLater
();
...
...
src/plugins/cppeditor/cpptypehierarchy.h
View file @
b58c147c
...
...
@@ -92,7 +92,7 @@ public:
CppTypeHierarchyWidget
(
Core
::
IEditor
*
editor
);
virtual
~
CppTypeHierarchyWidget
();
bool
handle
Replacement
(
Core
::
IEditor
*
editor
);
bool
handle
EditorChange
(
Core
::
IEditor
*
editor
);
public
slots
:
void
perform
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment