KBookmarks

kbookmarkaction.h
1 /*
2  This file is part of the KDE project
3  SPDX-FileCopyrightText: 1998, 1999 Torben Weis <[email protected]>
4  SPDX-FileCopyrightText: 2006 Daniel Teske <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #ifndef KBOOKMARKACTION_H
10 #define KBOOKMARKACTION_H
11 
12 #include "kbookmarkactioninterface.h"
13 #include <QAction>
14 
15 class KBookmark;
16 class KBookmarkOwner;
17 
23 class KBOOKMARKS_EXPORT KBookmarkAction : public QAction, public KBookmarkActionInterface
24 {
25  Q_OBJECT
26 public:
27  KBookmarkAction(const KBookmark &bk, KBookmarkOwner *owner, QObject *parent);
28  virtual ~KBookmarkAction();
29 
30 public Q_SLOTS:
31  void slotSelected(Qt::MouseButtons mb, Qt::KeyboardModifiers km);
32 
33 private Q_SLOTS:
34  void slotTriggered();
35 
36 private:
37  KBookmarkOwner *m_pOwner;
38 };
39 
40 #endif
typedef KeyboardModifiers
typedef MouseButtons
The KBookmarkMenu and KBookmarkBar classes gives the user the ability to either edit bookmarks or add...
This class is a QAction for bookmarks.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 3 2020 22:39:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.