// Part of the Architektonas Project
// Originally part of QCad Community Edition by Andrew Mustun
// Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
//
// JLH = James L. Hammons <jlhamm@acm.org>
//
#include "commands.h"
-#include "rs_dialogfactory.h"
-#include "rs_debug.h"
+#include "dialogfactory.h"
+#include "debug.h"
// Class variable
Commands * Commands::uniqueInstance = NULL;
// if (*it.current() == ret)
if (*it.value() == ret)
{
- if (RS_DialogFactory::instance() != NULL)
+ if (DialogFactory::instance() != NULL)
{
- //if (RS_DIALOGFACTORY!=NULL) {
- RS_DEBUG->print("Commands::cmdToAction: commandMessage");
- //RS_DIALOGFACTORY->commandMessage(tr("Command: %1")
+ //if (DIALOGFACTORY!=NULL) {
+ DEBUG->print("Commands::cmdToAction: commandMessage");
+ //DIALOGFACTORY->commandMessage(tr("Command: %1")
// .arg(full));
- RS_DialogFactory::instance()->commandMessage(tr("Command: %1").arg(full));
- RS_DEBUG->print("Commands::cmdToAction: commandMessage: ok");
+ DialogFactory::instance()->commandMessage(tr("Command: %1").arg(full));
+ DEBUG->print("Commands::cmdToAction: commandMessage: ok");
//}
}
else
- RS_DEBUG->print("Commands::cmdToAction: dialog factory instance is NULL");
+ DEBUG->print("Commands::cmdToAction: dialog factory instance is NULL");
break;
}
else if (cmd == "undo")
return tr("undo");
-// RS_DEBUG->print(RS_Debug::D_WARNING, "Commands::command: command '%s' unknown", cmd.latin1());
- RS_DEBUG->print(RS_Debug::D_WARNING, "Commands::command: command '%s' unknown", cmd.toLatin1().data());
+// DEBUG->print(Debug::D_WARNING, "Commands::command: command '%s' unknown", cmd.latin1());
+ DEBUG->print(Debug::D_WARNING, "Commands::command: command '%s' unknown", cmd.toLatin1().data());
return "";
}