• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • kate
  • app
kbookmarkhandler.h
1/* This file is part of the KDE project
2 Copyright (C) xxxx KFile Authors
3 Copyright (C) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef _KBOOKMARKHANDLER_H_
21#define _KBOOKMARKHANDLER_H_
22
23#include <kbookmarkmanager.h>
24#include <kbookmarkmenu.h>
25
26class KateFileSelector;
27
28class TDEActionMenu;
29
30class TQTextStream;
31class TDEPopupMenu;
32
33class KBookmarkHandler : public TQObject, public KBookmarkOwner
34{
35 TQ_OBJECT
36
37public:
38 KBookmarkHandler( KateFileSelector *parent, TDEPopupMenu *tdepopupmenu=0 );
39 ~KBookmarkHandler();
40
41 // KBookmarkOwner interface:
42 virtual void openBookmarkURL( const TQString& url ) { emit openURL( url ); }
43 virtual TQString currentURL() const;
44
45 TDEPopupMenu *menu() const { return m_menu; }
46
47signals:
48 void openURL( const TQString& url );
49
50private slots:
51 void slotNewBookmark( const TQString& text, const TQCString& url,
52 const TQString& additionalInfo );
53 void slotNewFolder( const TQString& text, bool open,
54 const TQString& additionalInfo );
55 void newSeparator();
56 void endFolder();
57
58protected:
59 virtual void virtual_hook( int id, void* data );
60
61private:
62 KateFileSelector *mParent;
63 TDEPopupMenu *m_menu;
64 KBookmarkMenu *m_bookmarkMenu;
65
66 TQTextStream *m_importStream;
67
68 //class KBookmarkHandlerPrivate *d;
69};
70
71
72#endif // _KBOOKMARKHANDLER_H_

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.