Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Signals | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MacDockIconHandler Class Reference

Macintosh-specific dock icon handler. More...

#include <macdockiconhandler.h>

+ Inheritance diagram for MacDockIconHandler:
+ Collaboration diagram for MacDockIconHandler:

Signals

void dockIconClicked ()
 

Public Member Functions

 ~MacDockIconHandler ()
 
QMenu * dockMenu ()
 
void setIcon (const QIcon &icon)
 
void setMainWindow (QMainWindow *window)
 
void handleDockIconClickEvent ()
 

Static Public Member Functions

static MacDockIconHandlerinstance ()
 

Private Member Functions

 MacDockIconHandler ()
 

Private Attributes

DockIconClickEventHandlerm_dockIconClickEventHandler
 
QWidgetm_dummyWidget
 
QMenu * m_dockMenu
 
QMainWindowmainWindow
 

Detailed Description

Macintosh-specific dock icon handler.

Definition at line 25 of file macdockiconhandler.h.

Constructor & Destructor Documentation

MacDockIconHandler::~MacDockIconHandler ( )

Definition at line 75 of file macdockiconhandler.mm.

References m_dummyWidget, and setMainWindow().

+ Here is the call graph for this function:

MacDockIconHandler::MacDockIconHandler ( )
private

Definition at line 55 of file macdockiconhandler.mm.

References m_dockIconClickEventHandler, m_dockMenu, m_dummyWidget, qt_mac_set_dock_menu(), and setMainWindow().

Referenced by instance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Function Documentation

void MacDockIconHandler::dockIconClicked ( )
signal

Definition at line 94 of file moc_macdockiconhandler.cpp.

Referenced by handleDockIconClickEvent().

+ Here is the caller graph for this function:

QMenu * MacDockIconHandler::dockMenu ( )

Definition at line 82 of file macdockiconhandler.mm.

References m_dockMenu.

Referenced by BitcoinGUI::createTrayIconMenu().

+ Here is the caller graph for this function:

void MacDockIconHandler::handleDockIconClickEvent ( )

Definition at line 128 of file macdockiconhandler.mm.

References dockIconClicked(), and mainWindow.

Referenced by DockIconClickEventHandler::handleDockClickEvent:withReplyEvent:.

+ Here is the caller graph for this function:

MacDockIconHandler * MacDockIconHandler::instance ( )
static

Definition at line 120 of file macdockiconhandler.mm.

References MacDockIconHandler().

Referenced by BitcoinGUI::BitcoinGUI(), BitcoinGUI::createTrayIconMenu(), and BitcoinGUI::~BitcoinGUI().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MacDockIconHandler::setIcon ( const QIcon &  icon)

Definition at line 87 of file macdockiconhandler.mm.

Referenced by BitcoinGUI::BitcoinGUI().

+ Here is the caller graph for this function:

void MacDockIconHandler::setMainWindow ( QMainWindow window)

Definition at line 71 of file macdockiconhandler.mm.

References mainWindow.

Referenced by BitcoinGUI::createTrayIconMenu(), MacDockIconHandler(), BitcoinGUI::~BitcoinGUI(), and ~MacDockIconHandler().

+ Here is the caller graph for this function:

Member Data Documentation

DockIconClickEventHandler* MacDockIconHandler::m_dockIconClickEventHandler
private

Definition at line 45 of file macdockiconhandler.h.

Referenced by MacDockIconHandler().

QMenu* MacDockIconHandler::m_dockMenu
private

Definition at line 47 of file macdockiconhandler.h.

Referenced by dockMenu(), and MacDockIconHandler().

QWidget* MacDockIconHandler::m_dummyWidget
private

Definition at line 46 of file macdockiconhandler.h.

Referenced by MacDockIconHandler(), and ~MacDockIconHandler().

QMainWindow* MacDockIconHandler::mainWindow
private

Definition at line 48 of file macdockiconhandler.h.

Referenced by handleDockIconClickEvent(), and setMainWindow().


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