forked from qt-creator/qt-creator
CppTools: Fix nextToSurroundingDefinitions
Now it is checked if the adjacent declaration is also defined and one can define the destination file. Change-Id: Ifff59c49fc2ab3e2f36f41df42ae4b7d7ff8dd35 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
c51195d9bb
commit
8f4c4b41f6
@@ -99,7 +99,8 @@ public:
|
||||
AccessSpec xsSpec) const;
|
||||
|
||||
QList<InsertionLocation> methodDefinition(CPlusPlus::Symbol *declaration,
|
||||
bool useSymbolFinder = true) const;
|
||||
bool useSymbolFinder = true,
|
||||
const QString &destinationFile = QString()) const;
|
||||
|
||||
private:
|
||||
CppRefactoringChanges m_refactoringChanges;
|
||||
|
||||
Reference in New Issue
Block a user