aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/basehoverhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-01-28 11:47:50 +0100
committerEike Ziller <eike.ziller@qt.io>2019-01-29 07:58:19 +0000
commit282805b66d0c7631674427ae700bd885aca27da8 (patch)
tree25a700d21f15c7a5178c0fb04300d4ad96c7f0bb /src/plugins/texteditor/basehoverhandler.cpp
parent418dcfbcbbd15a63ed261b22da3391e43e7ab8aa (diff)
Rename IContext::HelpIdCallback -> IContext::HelpCallback
It no longer takes an ID but a HelpItem. Change-Id: I0aa738549fea4fcfd0151adc2dfd642c63f0f60d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/basehoverhandler.cpp')
-rw-r--r--src/plugins/texteditor/basehoverhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/basehoverhandler.cpp b/src/plugins/texteditor/basehoverhandler.cpp
index 6529ab9d39b..a94374fbbdf 100644
--- a/src/plugins/texteditor/basehoverhandler.cpp
+++ b/src/plugins/texteditor/basehoverhandler.cpp
@@ -71,7 +71,7 @@ void BaseHoverHandler::setPriority(int priority)
void BaseHoverHandler::contextHelpId(TextEditorWidget *widget,
int pos,
- const Core::IContext::HelpIdCallback &callback)
+ const Core::IContext::HelpCallback &callback)
{
m_isContextHelpRequest = true;
@@ -115,7 +115,7 @@ bool BaseHoverHandler::isContextHelpRequest() const
}
void BaseHoverHandler::propagateHelpId(TextEditorWidget *widget,
- const Core::IContext::HelpIdCallback &callback)
+ const Core::IContext::HelpCallback &callback)
{
const Core::HelpItem contextHelp = lastHelpItemIdentified();
widget->setContextHelpItem(contextHelp);