20#ifndef __KATE_BOOKMARKS_H__
21#define __KATE_BOOKMARKS_H__
28namespace KTextEditor {
class Mark; }
38class KateBookmarks :
public TQObject
43 enum Sorting { Position, Creation };
44 KateBookmarks( KateView* parent, Sorting sort=Position );
45 virtual ~KateBookmarks();
47 void createActions( TDEActionCollection* );
49 KateBookmarks::Sorting sorting() {
return m_sorting; };
50 void setSorting( Sorting s ) { m_sorting = s; };
53 void insertBookmarks( TQPopupMenu& menu);
56 void toggleBookmark();
57 void clearBookmarks();
59 void slotViewGotFocus( Kate::View * );
60 void slotViewLostFocus( Kate::View * );
62 void bookmarkMenuAboutToShow();
63 void bookmarkMenuAboutToHide();
72 TDEToggleAction* m_bookmarkToggle;
73 TDEAction* m_bookmarkClear;
75 TDEAction* m_goPrevious;
78 TQPopupMenu* m_bookmarksMenu;
The Kate::View text editor interface.
Kate namespace All classes in this namespace must stay BC during one major release series (e....