Vaca::Event Class Reference

#include <Event.h>

Inheritance diagram for Vaca::Event:

Vaca::CancelableEvent Vaca::DropFilesEvent Vaca::KeyEvent Vaca::MenuItemEvent Vaca::MouseEvent Vaca::CloseEvent Vaca::ListViewEvent Vaca::SpinButtonEvent Vaca::TreeViewEvent

List of all members.


Detailed Description

Base class for every kind of event.

Public Member Functions

 Event (Component *source)
 Creates the event.
virtual ~Event ()
 Destroys the event.
ComponentgetSource ()
 Gets the event's source.

Private Attributes

Componentm_source
 The component which generates the event.

Constructor & Destructor Documentation

Event::Event ( Component source  ) 

Creates the event.

Parameters:
source The component which generates the event.

Event::~Event (  )  [virtual]

Destroys the event.


Member Function Documentation

Component * Event::getSource (  ) 

Gets the event's source.

Returns:
The component which generates the event.


Member Data Documentation

The component which generates the event.

It's specified in the Event's constructor