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

tdeio/bookmarks

  • tdeio
  • bookmarks
kbookmarkbar.h
1 // -*- c-basic-offset:4; indent-tabs-mode:nil -*-
2 // vim: set ts=4 sts=4 sw=4 et:
3 /* This file is part of the KDE project
4  Copyright (C) 1999 Kurt Granroth <granroth@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 #ifndef KBOOKMARKBAR_H
22 #define KBOOKMARKBAR_H
23 
24 #include <tqobject.h>
25 #include <tqguardedptr.h>
26 #include <tqptrlist.h>
27 #include <kbookmark.h>
28 #include <tdeaction.h>
29 
30 class TDEToolBar;
31 class KBookmarkMenu;
32 class KBookmarkOwner;
33 class TDEActionCollection;
34 class TDEAction;
35 class TQPopupMenu;
36 
42 class TDEIO_EXPORT KBookmarkBar : public TQObject
43 {
44  Q_OBJECT
45 
46  friend class RMB;
47 public:
60  KBookmarkBar( KBookmarkManager* manager,
61  KBookmarkOwner *owner, TDEToolBar *toolBar,
62  TDEActionCollection *,
63  TQObject *parent = 0L, const char *name = 0L);
64 
65  virtual ~KBookmarkBar();
66 
70  bool isReadOnly() const;
71 
75  void setReadOnly(bool);
76 
80  TQString parentAddress();
81 
82 signals:
86  void aboutToShowContextMenu( const KBookmark &, TQPopupMenu * );
90  void openBookmark( const TQString& url, TQt::ButtonState state );
91 
92 public slots:
93  void clear();
94 
95  void slotBookmarksChanged( const TQString & );
96  void slotBookmarkSelected();
97 
101  void slotBookmarkSelected( TDEAction::ActivationReason reason, TQt::ButtonState state );
102 
104  void slotRMBActionRemove( int );
106  void slotRMBActionInsert( int );
108  void slotRMBActionCopyLocation( int );
110  void slotRMBActionEditAt( int );
112  void slotRMBActionProperties( int );
113 
114 protected:
115  void fillBookmarkBar( KBookmarkGroup & parent );
116  virtual bool eventFilter( TQObject *o, TQEvent *e );
117 
118 private:
119  KBookmarkGroup getToolbar();
120 
121  KBookmarkOwner *m_pOwner;
122  TQGuardedPtr<TDEToolBar> m_toolBar;
123  TDEActionCollection *m_actionCollection;
124  KBookmarkManager *m_pManager;
125  TQPtrList<KBookmarkMenu> m_lstSubMenus;
126 
127 private:
128  class KBookmarkBarPrivate* dptr() const;
129 };
130 
131 #endif // KBOOKMARKBAR_H

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.8.1.2
This website is maintained by Timothy Pearson.