Rename IDocument::fileName --> filePath

That is what it actually is, wrt how Qt API calls it.

Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Eike Ziller
2013-07-04 13:30:26 +02:00
parent cee1602253
commit dd43d9908f
118 changed files with 326 additions and 326 deletions

View File

@@ -192,7 +192,7 @@ public:
explicit DebuggerToolTipEditor(IEditor *ie = 0);
bool isValid() const { return textEditor && baseTextEditor && document; }
operator bool() const { return isValid(); }
QString fileName() const { return document ? document->fileName() : QString(); }
QString fileName() const { return document ? document->filePath() : QString(); }
static DebuggerToolTipEditor currentToolTipEditor();
@@ -535,7 +535,7 @@ DebuggerToolTipContext DebuggerToolTipContext::fromEditor(IEditor *ie, int pos)
DebuggerToolTipContext rc;
if (const IDocument *document = ie->document()) {
if (const ITextEditor *te = qobject_cast<const ITextEditor *>(ie)) {
rc.fileName = document->fileName();
rc.fileName = document->filePath();
rc.position = pos;
te->convertPosition(pos, &rc.line, &rc.column);
}