C++: Add basic 'insert #include' quick fix.

Change-Id: I3a2fef56d6d1871ea4bbb139f9bdd2bc44dd0123
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Christian Kamm
2011-11-25 12:05:58 +01:00
parent 5f44d8f535
commit dc72cff71a
9 changed files with 174 additions and 15 deletions

View File

@@ -33,6 +33,8 @@
#ifndef SEARCHSYMBOLS_H
#define SEARCHSYMBOLS_H
#include "cpptools_global.h"
#include <cplusplus/CppDocument.h>
#include <cplusplus/Icons.h>
#include <cplusplus/Overview.h>
@@ -48,9 +50,8 @@
#include <functional>
namespace CppTools {
namespace Internal {
struct ModelItemInfo
struct CPPTOOLS_EXPORT ModelItemInfo
{
enum ItemType { Enum, Class, Method, Declaration };
@@ -180,10 +181,9 @@ private:
bool separateScope;
};
} // namespace Internal
} // namespace CppTools
Q_DECLARE_OPERATORS_FOR_FLAGS(CppTools::Internal::SearchSymbols::SymbolTypes)
Q_DECLARE_METATYPE(CppTools::Internal::ModelItemInfo)
Q_DECLARE_OPERATORS_FOR_FLAGS(CppTools::SearchSymbols::SymbolTypes)
Q_DECLARE_METATYPE(CppTools::ModelItemInfo)
#endif // SEARCHSYMBOLS_H