3 // Part of the Architektonas Project
4 // Originally part of QCad Community Edition by Andrew Mustun
5 // Extensively rewritten and refactored by James L. Hammons
6 // (C) 2010 Underground Software
8 // JLH = James L. Hammons <jlhamm@acm.org>
11 // --- ---------- -----------------------------------------------------------
12 // JLH 06/02/2010 Added this text. :-)
13 // JLH 06/02/2010 Moved implementation from header to here WHERE IT BELONGS.
16 #include "rs_commandevent.h"
19 * Creates a new command event that is not yet accepted.
21 * @param cmd the command that was triggered.
23 RS_CommandEvent::RS_CommandEvent(const QString & cmd)
30 * @return the command that was triggered, usually by
33 QString RS_CommandEvent::getCommand()
39 * Sets the event state to accepted.
41 void RS_CommandEvent::accept()
47 * @return Whether the event was already accepted or not.
49 bool RS_CommandEvent::isAccepted()