20 #ifndef __KATE_BOOKMARKS_H__
21 #define __KATE_BOOKMARKS_H__
24 #include <tqptrlist.h>
30 namespace Kate {
class View; }
33 class TDEToggleAction;
34 class TDEActionCollection;
38 class 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();
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...