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
00077 class KContextMenuManager : public QObject
00078 {
00079 Q_OBJECT
00080 public:
00081
00088 static void insert( QWidget* widget, QPopupMenu* popup );
00089
00098 static bool showOnButtonPress( void );
00099
00100 private slots:
00101 void widgetDestroyed();
00102 private:
00103 KContextMenuManager( QObject* parent = 0, const char* name = 0);
00104 ~KContextMenuManager();
00105 bool eventFilter( QObject *, QEvent * );
00106 QPtrDict<QPopupMenu> menus;
00107 bool showOnPress;
00108 QKeySequence menuKey;
00109 static KContextMenuManager* manager;
00110 friend class I_really_like_this_class;
00111
00112 KContextMenuManagerPrivate *d;
00113 };
00114
00115 #endif
This file is part of the documentation for kdeui Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 23 17:11:52 2004 by
doxygen 1.3.8-20040913 written by
Dimitri van Heesch, © 1997-2003