popupmenuinterface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef __ktexteditor_popupmenuinterface_h__
00020
#define __ktexteditor_popupmenuinterface_h__
00021
00022
class QCString;
00023
class QPopupMenu;
00024
00025
namespace KTextEditor
00026 {
00027
00031 class PopupMenuInterface
00032 {
00033
friend class PrivatePopupMenuInterface;
00034
00035
public:
00036
PopupMenuInterface ();
00037
virtual ~
PopupMenuInterface ();
00038
00039
unsigned int popupMenuInterfaceNumber ()
const;
00040
00041
protected:
00042
void setPopupMenuInterfaceDCOPSuffix (
const QCString &suffix);
00043
00044
00045
00046
00047
public:
00052
virtual void installPopup (
QPopupMenu *rmb_Menu) = 0;
00053
00054
private:
00055
class PrivatePopupMenuInterface *d;
00056
static unsigned int globalPopupMenuInterfaceNumber;
00057
unsigned int myPopupMenuInterfaceNumber;
00058 };
00059
00060
PopupMenuInterface *popupMenuInterface (
class View *view);
00061
00062 }
00063
00064
#endif
This file is part of the documentation for interfaces Library Version 3.3.1.