forked from qt-creator/qt-creator
C++: Trigger function signature change via quick fix.
This way we don't need to override Return and Escape. Change-Id: I1548118c06ee7338ba3dd9d84b82b9314ab16782 Reviewed-on: http://codereview.qt.nokia.com/4183 Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
#ifndef CPPFUNCTIONDECLDEFLINK_H
|
||||
#define CPPFUNCTIONDECLDEFLINK_H
|
||||
|
||||
#include "cppquickfix.h"
|
||||
|
||||
#include <cplusplus/CppDocument.h>
|
||||
#include <cplusplus/ASTfwd.h>
|
||||
|
||||
@@ -121,6 +123,13 @@ private:
|
||||
friend class FunctionDeclDefLinkFinder;
|
||||
};
|
||||
|
||||
class ApplyDeclDefLinkChanges: public CppQuickFixFactory
|
||||
{
|
||||
public:
|
||||
virtual QList<CppQuickFixOperation::Ptr>
|
||||
match(const QSharedPointer<const Internal::CppQuickFixAssistInterface> &interface);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppEditor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user