forked from qt-creator/qt-creator
		
	Moved the CppHoverHandler to the CppEditor plugin
It used to be in CppTools, but since the hover handler only makes sense in the context of the C++ editor, this is a better place.
This commit is contained in:
		@@ -32,12 +32,13 @@
 | 
			
		||||
***************************************************************************/
 | 
			
		||||
 | 
			
		||||
#include "cppplugin.h"
 | 
			
		||||
#include "cppclasswizard.h"
 | 
			
		||||
#include "cppeditor.h"
 | 
			
		||||
#include "cppeditoractionhandler.h"
 | 
			
		||||
#include "cppeditorconstants.h"
 | 
			
		||||
#include "cppeditorenums.h"
 | 
			
		||||
#include "cppfilewizard.h"
 | 
			
		||||
#include "cppclasswizard.h"
 | 
			
		||||
#include "cppeditoractionhandler.h"
 | 
			
		||||
#include "cpphoverhandler.h"
 | 
			
		||||
 | 
			
		||||
#include <coreplugin/coreconstants.h>
 | 
			
		||||
#include <coreplugin/mimedatabase.h>
 | 
			
		||||
@@ -171,6 +172,8 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
 | 
			
		||||
    m_factory = new CppPluginEditorFactory(this);
 | 
			
		||||
    addObject(m_factory);
 | 
			
		||||
 | 
			
		||||
    addAutoReleasedObject(new CppHoverHandler);
 | 
			
		||||
 | 
			
		||||
    CppFileWizard::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
 | 
			
		||||
 | 
			
		||||
    wizardParameters.setCategory(QLatin1String("C++"));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user