20 #ifndef __KATE_BOOKMARKS_H__
21 #define __KATE_BOOKMARKS_H__
24 #include <tqptrlist.h>
28 namespace KTextEditor {
class Mark; }
30 namespace Kate {
class View; }
38 class KateBookmarks :
public TQObject
43 enum Sorting { Position, Creation };
44 KateBookmarks( KateView* parent, Sorting sort=Position );
45 virtual ~KateBookmarks();
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();
62 void bookmarkMenuAboutToShow();
63 void bookmarkMenuAboutToHide();
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....