Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

RS_CommandEvent Class Reference

Command Events. More...

#include <rs_commandevent.h>

List of all members.

Public Member Functions

 RS_CommandEvent (const RS_String &cmd)
 Creates a new command event that is not yet accepted.
RS_String getCommand ()
void accept ()
 Sets the event state to accepted.
bool isAccepted ()

Protected Attributes

RS_String cmd
bool accepted


Detailed Description

Command Events.


Constructor & Destructor Documentation

RS_CommandEvent::RS_CommandEvent const RS_String &  cmd  )  [inline]
 

Creates a new command event that is not yet accepted.

Parameters:
cmd the command that was triggered.


Member Function Documentation

RS_String RS_CommandEvent::getCommand  )  [inline]
 

Returns:
the command that was triggered, usually by the user.

bool RS_CommandEvent::isAccepted  )  [inline]
 

Returns:
Whether the event was already accepted or not.


The documentation for this class was generated from the following file:
Generated on Sat Jan 6 13:48:22 2007 for qcadlib by  doxygen 1.4.4