summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/sourceutils.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-19 15:26:41 +0200
committerhjk <hjk121@nokiamail.com>2014-09-19 16:00:24 +0200
commit970264a88e6bcc5360babda429f43d840501ffcf (patch)
tree68e5f47175a308b1082ef67ada9cef26d3952660 /src/plugins/debugger/sourceutils.h
parent74f24c96e1341a6fe287e562a905f6e4e70f4ab4 (diff)
downloadqt-creator-970264a88e6bcc5360babda429f43d840501ffcf.tar.gz
Debugger: Operate tooltips on TextEditorWidgets, not TextEditor
Less indirection. Change-Id: Ifbd7195e853d02bfd6562c817fc7f30079913faf Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/sourceutils.h')
-rw-r--r--src/plugins/debugger/sourceutils.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/debugger/sourceutils.h b/src/plugins/debugger/sourceutils.h
index cce80ac6eb..119d35e022 100644
--- a/src/plugins/debugger/sourceutils.h
+++ b/src/plugins/debugger/sourceutils.h
@@ -32,16 +32,15 @@
#include <QString>
-namespace TextEditor { class BaseTextEditor; }
-namespace Core { class IEditor; }
+namespace TextEditor { class BaseTextEditorWidget; }
namespace CPlusPlus { class Snapshot; }
namespace Debugger {
namespace Internal {
// Editor tooltip support
-bool isCppEditor(Core::IEditor *editor);
-QString cppExpressionAt(TextEditor::BaseTextEditor *editor, int pos,
+bool isCppEditor(TextEditor::BaseTextEditorWidget *editorWidget);
+QString cppExpressionAt(TextEditor::BaseTextEditorWidget *editorWidget, int pos,
int *line, int *column, QString *function = 0);
QString fixCppExpression(const QString &exp);
QString cppFunctionAt(const QString &fileName, int line);