X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmainapp%2Fcommands.cpp;h=083d45fa6509e109976680ee8282bddea899fce8;hb=bfd926cd5fd98e95b8b172fabd5340c9b1957e01;hp=52b720811ececa6585c00b7d2da4cb88784f18bf;hpb=865303923fcb231a171992b75a73364ff469ff8c;p=architektonas diff --git a/src/mainapp/commands.cpp b/src/mainapp/commands.cpp index 52b7208..083d45f 100644 --- a/src/mainapp/commands.cpp +++ b/src/mainapp/commands.cpp @@ -16,8 +16,8 @@ #include "commands.h" -#include "rs_dialogfactory.h" -#include "rs_debug.h" +#include "dialogfactory.h" +#include "debug.h" // Class variable Commands * Commands::uniqueInstance = NULL; @@ -209,18 +209,18 @@ RS2::ActionType Commands::cmdToAction(const QString & cmd) // 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; } @@ -391,8 +391,8 @@ QString Commands::command(const QString & cmd) 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 ""; }