• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/bookmarks
 

tdeio/bookmarks

  • tdeio
  • bookmarks
kbookmarkbar.h
1 /* This file is part of the KDE project
2  Copyright (C) 1999 Kurt Granroth <granroth@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
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 #ifndef KBOOKMARKBAR_H
20 #define KBOOKMARKBAR_H
21 
22 #include <tqobject.h>
23 #include <tqguardedptr.h>
24 #include <tqptrlist.h>
25 #include <kbookmark.h>
26 #include <tdeaction.h>
27 
28 class TDEToolBar;
29 class KBookmarkMenu;
30 class KBookmarkOwner;
31 class TDEActionCollection;
32 class TDEAction;
33 class TQPopupMenu;
34 
40 class TDEIO_EXPORT KBookmarkBar : public TQObject
41 {
42  TQ_OBJECT
43 
44  friend class RMB;
45 public:
58  KBookmarkBar( KBookmarkManager* manager,
59  KBookmarkOwner *owner, TDEToolBar *toolBar,
60  TDEActionCollection *,
61  TQObject *parent = 0L, const char *name = 0L);
62 
63  virtual ~KBookmarkBar();
64 
68  bool isReadOnly() const;
69 
73  void setReadOnly(bool);
74 
78  TQString parentAddress();
79 
80 signals:
84  void aboutToShowContextMenu( const KBookmark &, TQPopupMenu * );
88  void openBookmark( const TQString& url, TQt::ButtonState state );
89 
90 public slots:
91  void clear();
92 
93  void slotBookmarksChanged( const TQString & );
94  void slotBookmarkSelected();
95 
99  void slotBookmarkSelected( TDEAction::ActivationReason reason, TQt::ButtonState state );
100 
102  void slotRMBActionRemove( int );
104  void slotRMBActionInsert( int );
106  void slotRMBActionCopyLocation( int );
108  void slotRMBActionEditAt( int );
110  void slotRMBActionProperties( int );
111 
112 protected:
113  void fillBookmarkBar( KBookmarkGroup & parent );
114  virtual bool eventFilter( TQObject *o, TQEvent *e );
115 
116 private:
117  KBookmarkGroup getToolbar();
118 
119  KBookmarkOwner *m_pOwner;
120  TQGuardedPtr<TDEToolBar> m_toolBar;
121  TDEActionCollection *m_actionCollection;
122  KBookmarkManager *m_pManager;
123  TQPtrList<KBookmarkMenu> m_lstSubMenus;
124 
125 private:
126  class KBookmarkBarPrivate* dptr() const;
127 };
128 
129 #endif // KBOOKMARKBAR_H
KBookmarkBar
This class provides a bookmark toolbar.
Definition: kbookmarkbar.h:41
KBookmarkBar::aboutToShowContextMenu
void aboutToShowContextMenu(const KBookmark &, TQPopupMenu *)
KBookmarkBar::openBookmark
void openBookmark(const TQString &url, TQt::ButtonState state)
KBookmarkGroup
A group of bookmarks.
Definition: kbookmark.h:198
KBookmarkManager
This class implements the reading/writing of bookmarks in XML.
Definition: kbookmarkmanager.h:52
KBookmarkMenu
This class provides a bookmark menu.
Definition: kbookmarkmenu.h:78
KBookmarkOwner
The KBookmarkMenu and KBookmarkBar classes gives the user the ability to either edit bookmarks or add...
Definition: kbookmarkmanager.h:316

tdeio/bookmarks

Skip menu "tdeio/bookmarks"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/bookmarks

Skip menu "tdeio/bookmarks"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/bookmarks by doxygen 1.9.1
This website is maintained by Timothy Pearson.