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:
Thorbjørn Lindeijer
2008-12-16 12:22:08 +01:00
parent 24e6d15879
commit 1efe71992b
12 changed files with 65 additions and 45 deletions

View File

@@ -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++"));