forked from qt-creator/qt-creator
TextEditor: Move some hover handler operation from Editor to Widget
Change-Id: Ie54bf52d3f89c76f379d20c4807b1e252af51505 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -32,25 +32,18 @@
|
||||
|
||||
#include <texteditor/basehoverhandler.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace Core { class IEditor; }
|
||||
|
||||
namespace TextEditor { class BaseTextEditor; }
|
||||
|
||||
namespace CppEditor {
|
||||
namespace Internal {
|
||||
|
||||
class CppHoverHandler : public TextEditor::BaseHoverHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CppHoverHandler(QObject *parent = 0);
|
||||
CppHoverHandler();
|
||||
virtual ~CppHoverHandler();
|
||||
|
||||
private:
|
||||
virtual bool acceptEditor(Core::IEditor *editor);
|
||||
virtual void identifyMatch(TextEditor::BaseTextEditor *editor, int pos);
|
||||
virtual void identifyMatch(TextEditor::BaseTextEditorWidget *editorWidget, int pos);
|
||||
virtual void decorateToolTip();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user