forked from qt-creator/qt-creator
cppquickfixes: compile fix for msvc2008
Change-Id: I287c76372d2c50c408b9ef74e292a36d8e278449 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -42,8 +42,6 @@ namespace CppEditor {
|
||||
namespace Internal { class CppQuickFixAssistInterface; }
|
||||
|
||||
typedef QSharedPointer<const Internal::CppQuickFixAssistInterface> CppQuickFixInterface;
|
||||
typedef TextEditor::QuickFixInterface QuickFixInterface;
|
||||
typedef TextEditor::QuickFixOperations QuickFixOperations;
|
||||
|
||||
class CPPEDITOR_EXPORT CppQuickFixOperation: public TextEditor::QuickFixOperation
|
||||
{
|
||||
@@ -66,13 +64,15 @@ class CPPEDITOR_EXPORT CppQuickFixFactory: public TextEditor::QuickFixFactory
|
||||
public:
|
||||
CppQuickFixFactory() {}
|
||||
|
||||
void matchingOperations(const QuickFixInterface &interface, QuickFixOperations &result);
|
||||
void matchingOperations(const TextEditor::QuickFixInterface &interface,
|
||||
TextEditor::QuickFixOperations &result);
|
||||
|
||||
/*!
|
||||
Implement this method to match and create the appropriate
|
||||
CppQuickFixOperation objects.
|
||||
*/
|
||||
virtual void match(const CppQuickFixInterface &interface, QuickFixOperations &result) = 0;
|
||||
virtual void match(const CppQuickFixInterface &interface,
|
||||
TextEditor::QuickFixOperations &result) = 0;
|
||||
};
|
||||
|
||||
} // namespace CppEditor
|
||||
|
||||
Reference in New Issue
Block a user