Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SUIT_PopupClient Class Referenceabstract

#include <SUIT_PopupClient.h>

Inheritance diagram for SUIT_PopupClient:
Inheritance graph

Classes

class  Signal
 

Public Member Functions

 SUIT_PopupClient ()
 
virtual ~SUIT_PopupClient ()
 
bool connectPopupRequest (QObject *reciever, const char *slot)
 
bool disconnectPopupRequest (QObject *reciever, const char *slot)
 
virtual QString popupClientType () const =0
 
virtual void contextMenuPopup (QMenu *)
 

Protected Member Functions

void contextMenuRequest (QContextMenuEvent *e)
 

Private Attributes

SignalmySignal
 

Detailed Description

Descr: Base class for instances which creates popup menu on QContextMenuEvent

Constructor & Destructor Documentation

SUIT_PopupClient::SUIT_PopupClient ( )

constructor. initialize mySignal.

SUIT_PopupClient::~SUIT_PopupClient ( )
virtual

destructor. delete mySignal

References mySignal.

Member Function Documentation

bool SUIT_PopupClient::connectPopupRequest ( QObject reciever,
const char *  slot 
)

Connect popup request.

References contextMenuRequest(), and mySignal.

virtual void SUIT_PopupClient::contextMenuPopup ( QMenu )
inlinevirtual
void SUIT_PopupClient::contextMenuRequest ( QContextMenuEvent *  e)
protected

Send signal on context menu request.

References mySignal, and SUIT_PopupClient::Signal::sendSignal().

bool SUIT_PopupClient::disconnectPopupRequest ( QObject reciever,
const char *  slot 
)

Disconnect popup request.

References contextMenuRequest(), and mySignal.

virtual QString SUIT_PopupClient::popupClientType ( ) const
pure virtual

Member Data Documentation

Signal* SUIT_PopupClient::mySignal
private

The documentation for this class was generated from the following files: