]> Shamusworld >> Repos - architektonas/blobdiff - src/mainapp/commands.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / mainapp / commands.cpp
index f2460e013db010800bcc6c795023fe13e3c31b68..083d45fa6509e109976680ee8282bddea899fce8 100644 (file)
@@ -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 "";
 }