• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkonq

konq_popupmenuplugin.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright 2008 David Faure <faure@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU Library General Public License as published
00006    by the Free Software Foundation; either version 2 of the License or
00007    ( at your option ) version 3 or, at the discretion of KDE e.V.
00008    ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KONQ_POPUPMENUPLUGIN_H
00022 #define KONQ_POPUPMENUPLUGIN_H
00023 
00024 #include "libkonq_export.h"
00025 #include <QtCore/QObject>
00026 
00027 class QMenu;
00028 class KActionCollection;
00029 class KonqPopupMenuInformation;
00030 
00041 class LIBKONQ_EXPORT KonqPopupMenuPlugin : public QObject
00042 {
00043     Q_OBJECT
00044 public:
00045 
00049     KonqPopupMenuPlugin(QObject* parent);
00050     virtual ~KonqPopupMenuPlugin();
00051 
00061     virtual void setup(KActionCollection* actionCollection,
00062                        const KonqPopupMenuInformation& popupMenuInfo,
00063                        QMenu *menu) = 0;
00064 };
00065 
00066 #endif /* KONQ_POPUPMENUPLUGIN_H */

libkonq

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

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal