• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

libkonq

  • sources
  • kde-4.12
  • applications
  • kde-baseapps
  • lib
  • konq
konq_popupmenuplugin.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright 2008 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify
5  it under the terms of the GNU Library General Public License as published
6  by the Free Software Foundation; either version 2 of the License or
7  ( at your option ) version 3 or, at the discretion of KDE e.V.
8  ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KONQ_POPUPMENUPLUGIN_H
22 #define KONQ_POPUPMENUPLUGIN_H
23 
24 #include "libkonq_export.h"
25 #include <QtCore/QObject>
26 
27 class QMenu;
28 class KActionCollection;
29 class KonqPopupMenuInformation;
30 
43 class LIBKONQ_EXPORT KonqPopupMenuPlugin : public QObject
44 {
45  Q_OBJECT
46 public:
47 
51  KonqPopupMenuPlugin(QObject* parent);
52  virtual ~KonqPopupMenuPlugin();
53 
63  virtual void setup(KActionCollection* actionCollection,
64  const KonqPopupMenuInformation& popupMenuInfo,
65  QMenu *menu) = 0;
66 };
67 
68 #endif /* KONQ_POPUPMENUPLUGIN_H */
QObject
KonqPopupMenuPlugin
Base class for KonqPopupMenu plugins.
Definition: konq_popupmenuplugin.h:43
libkonq_export.h
QMenu
LIBKONQ_EXPORT
#define LIBKONQ_EXPORT
Definition: libkonq_export.h:36
KonqPopupMenuInformation
Holds the information about the items shown by KonqPopupMenu.
Definition: konq_popupmenuinformation.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal