kcmenumngr.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef KCMENUMNGR_H
00021
#define KCMENUMNGR_H
00022
00023
00024
class QWidget;
00025
class QPopupMenu;
00026
class KContextMenuManagerPrivate;
00027
#include <qobject.h>
00028
#include <qptrdict.h>
00029
#include <qkeysequence.h>
00030
00031
#include <kdelibs_export.h>
00032
00076 class KDEUI_EXPORT KContextMenuManager :
public QObject
00077 {
00078 Q_OBJECT
00079
public:
00080
00087
static void insert(
QWidget* widget,
QPopupMenu* popup );
00088
00097
static bool showOnButtonPress(
void );
00098
00099
private slots:
00100
void widgetDestroyed();
00101
private:
00102 KContextMenuManager(
QObject* parent = 0,
const char* name = 0);
00103 ~KContextMenuManager();
00104
bool eventFilter(
QObject *,
QEvent * );
00105
QPtrDict<QPopupMenu> menus;
00106
bool showOnPress;
00107
QKeySequence menuKey;
00108
static KContextMenuManager* manager;
00109
friend class I_really_like_this_class;
00110
00111 KContextMenuManagerPrivate *d;
00112 };
00113
00114
#endif
This file is part of the documentation for kdeui Library Version 3.4.0.