Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewinternal.h
Show All 21 Lines | 1 | /* This file is part of the KDE libraries | |||
---|---|---|---|---|---|
22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
23 | Boston, MA 02110-1301, USA. | 23 | Boston, MA 02110-1301, USA. | ||
24 | */ | 24 | */ | ||
25 | 25 | | |||
26 | #ifndef _KATE_VIEW_INTERNAL_ | 26 | #ifndef _KATE_VIEW_INTERNAL_ | ||
27 | #define _KATE_VIEW_INTERNAL_ | 27 | #define _KATE_VIEW_INTERNAL_ | ||
28 | 28 | | |||
29 | #include <ktexteditor/attribute.h> | 29 | #include <ktexteditor/attribute.h> | ||
30 | #include <ktexteditor/inlinenote.h> | | |||
31 | 30 | | |||
32 | #include "katetextcursor.h" | 31 | #include "katetextcursor.h" | ||
33 | #include "katetextline.h" | 32 | #include "katetextline.h" | ||
34 | #include "katedocument.h" | 33 | #include "katedocument.h" | ||
35 | #include "kateview.h" | 34 | #include "kateview.h" | ||
36 | #include "katerenderer.h" | 35 | #include "katerenderer.h" | ||
36 | #include "inlinenotedata.h" | ||||
37 | 37 | | |||
38 | #include <QPoint> | 38 | #include <QPoint> | ||
39 | #include <QTimer> | 39 | #include <QTimer> | ||
40 | #include <QElapsedTimer> | 40 | #include <QElapsedTimer> | ||
41 | #include <QTime> | 41 | #include <QTime> | ||
42 | #include <QDrag> | 42 | #include <QDrag> | ||
43 | #include <QWidget> | 43 | #include <QWidget> | ||
44 | #include <QSet> | 44 | #include <QSet> | ||
▲ Show 20 Lines • Show All 418 Lines • ▼ Show 20 Line(s) | 462 | { | |||
463 | return m_view->doc(); | 463 | return m_view->doc(); | ||
464 | } | 464 | } | ||
465 | 465 | | |||
466 | // input modes | 466 | // input modes | ||
467 | private: | 467 | private: | ||
468 | QMap<KTextEditor::View::InputMode, KateAbstractInputMode *> m_inputModes; | 468 | QMap<KTextEditor::View::InputMode, KateAbstractInputMode *> m_inputModes; | ||
469 | KateAbstractInputMode *m_currentInputMode; | 469 | KateAbstractInputMode *m_currentInputMode; | ||
470 | 470 | | |||
471 | KTextEditor::InlineNote m_activeInlineNote; | 471 | KateInlineNoteData m_activeInlineNote; | ||
472 | KTextEditor::InlineNote inlineNoteAt(const QPoint& pos) const; | 472 | KateInlineNoteData inlineNoteAt(const QPoint& pos) const; | ||
473 | QRect inlineNoteRect(const KTextEditor::InlineNote& note) const; | 473 | QRect inlineNoteRect(const KateInlineNoteData& note) const; | ||
474 | QPoint toNoteCoordinates(const QPoint& pos, const KTextEditor::InlineNote& note) const; | 474 | QPoint toNoteCoordinates(const QPoint& pos, const KateInlineNoteData& note) const; | ||
475 | }; | 475 | }; | ||
476 | 476 | | |||
477 | #endif | 477 | #endif | ||
478 | 478 | |